WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead.

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.