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) -> BoolParameters
- type:
A Uttype Swift.struct instance.
Return Value
true if type directly or indirectly conforms to the type, but returns false if it’s equal to the type.