File.prototype.instances()

Return a file’s instances.

Syntax

file.instances() Collection

Description

Return a file’s instances, which are all the files having a type pointing to the current file.

This method is simply for reverse-walking the type-chain, it does not examine the type-chain of the current file, thus it’s fine if the current file has a broken type.

Examples

Basic example.

Instances of instances are not returned.

Nested filesystem scopes are supported.

Subscribe to our newsletter!