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

Collection.prototype.reverse()

Return a new collection of files in reverse order.

Syntax

collection.reverse() Collection

Examples

Basic example.

Reversing empty collection is ok.