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.

Subscribe to our newsletter!