File.prototype.children()

Return a file’s children.

Syntax

file.children() Collection

Description

Return a collection of all the file’s children. Links are followed.

Examples

Basic example, both pages and contents are returned.

Equivalent query.

Returns empty collection if file has no children.