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

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.