File.prototype.prevInBucket()

Return a file’s previous sibling within the same bucket.

Syntax

file.prevInBucket() File file.prevInBucket() null

Description

Return a file’s previous sibling within the same bucket. If it doesn’t exist, null is returned.

Examples

Example when previous sibling exists within the same bucket.

Example when previous sibling does not exist within the same bucket.

Subscribe to our newsletter!