Instances of a type

Syntax

	all(`$class-literal`)

Description

Gets all instances of the given class.

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.