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

File.prototype.contents()

Return a file’s children that are contents.

Syntax

file.contents() Collection

Description

Return a collection of a file’s children which are contents. A file is a content if it implements the .Inline interface, that is, any file of its type chain contains a file named .Inline.

Links are followed.

Examples

Basic example.

Returns empty collection if file has no contents.