Documentation Language: Swift

Method

allInstancesOf(_:)

Find all objects of a given type across all models.

func allInstancesOf(_ type: EClass) async -> [any EObject]

Parameters

type

The EClass to search for

Return Value

Array of all instances (including subtype instances)