isSubtype(of:)
Returns a Boolean value that indicates whether a type is higher in a hierarchy than the type.
Declaration
func isSubtype(of type: UTType) -> BoolParameters
- type:
A Uttype Swift.struct instance.
Return Value
true if the type directly or indirectly conforms to type, but returns false if it’s equal to type.