Contents

isSupertype(of:)

Returns a Boolean value that indicates whether a type is lower in a hierarchy than the type.

Declaration

func isSupertype(of type: UTType) -> Bool

Parameters

Return Value

true if type directly or indirectly conforms to the type, but returns false if it’s equal to the type.

See Also

Checking a type’s relationship to another type