File.prototype.next()

Return a file’s next sibling, ignoring bucket boundaries.

Syntax

file.next() File file.next() null

Description

Return a file’s next sibling, ignoring bucket boundaries. If it doesn’t exist, null is returned.

Examples

Example when next sibling exists.

Example when next sibling does NOT exist.