Instances of a type

Syntax

	all(`$class-literal`)

Description

Gets all instances of the given class.

In a secured evaluation only the instances the current user may discover are delivered; a count over all(...) counts these only.

Parameters

Name Type Description Mandatory Default
class-literal String The class whose instances are to be retrieved. yes

Return value

Type: Set

A set containing all instances of the class.

Examples

All instances of a class

	`my.module:MyClass`

Output: A set containing all instances of the class MyClass.