---
title: "isSubtype(of:)"
framework: uniformtypeidentifiers
role: symbol
role_heading: Instance Method
path: "uniformtypeidentifiers/uttypereference/issubtype(of:)"
---

# isSubtype(of:)

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

## Declaration

```swift
func isSubtype(of type: UTType) -> Bool
```

## Parameters

- `type`: A doc://com.apple.uniformtypeidentifiers/documentation/UniformTypeIdentifiers/UTType-swift.struct instance.

## Return Value

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

## See Also

### Checking a type’s relationship to another type

- [supertypes](uniformtypeidentifiers/uttype-swift.struct/supertypes.md)
- [conforms(to:)](uniformtypeidentifiers/uttypereference/conforms(to:).md)
- [isSupertype(of:)](uniformtypeidentifiers/uttypereference/issupertype(of:).md)
