File.prototype.pages()

Return a file’s children that are pages.

Syntax

file.pages() Collection

Description

Return a collection of a file’s children which are pages. A file is a page if its app contains a file named .Page.

Links are followed.

Examples

Basic example.

Returns empty collection if file has no subpages.