instances

Description

instances returns all the instances of the type(s) specified. It should be used in combination with count or get_properties_from_instances.

‚Äč

Example

instances(Person, AccountHolder)

This will give you all instances that are of the type Person and have the role AccountHolder.