Collection.prototype.eq()

Return the file at given index.

Syntax

collection.eq(index int) File collection.eq(index int) null

Parameters

index int

Which file to return.

Description

Return the file from the Collection at given index, or null if there is no such file.

Examples

File exists at index.

No file at index.