getIndex

gets the index of a file by its ID

number getIndex(string id);
idstringthe id of a file
numberthe index of a file - its position in the Vault queue

Example

var index = vault.data.getIndex("file_id");

See also
Back to top