Documentation Language: Swift

Method

firstInstanceOf(_:)

Find the first object of a given type.

func firstInstanceOf(_ type: EClass) async -> (any EObject)?

Parameters

type

The EClass to search for

Return Value

The first matching instance, or nil if none found