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

Collection.prototype.each()

Call callback with all files in the collection.

Syntax

collection.each(callback function(File)) Collection

Parameters

callback function(f File)

A callback function to call with all files one after the other.

Examples

Printing the path of all the files in the collection.