Contents

conforms(to:)

Returns a Boolean value that indicates whether a type conforms to the type.

Declaration

func conforms(to type: UTType) -> Bool

Parameters

Return Value

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

See Also

Checking a type’s relationship to another type