---
title: "isSupertype(of:)"
framework: uniformtypeidentifiers
role: symbol
role_heading: Instance Method
path: "uniformtypeidentifiers/uttype-swift.struct/issupertype(of:)"
---

# isSupertype(of:)

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

## Declaration

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

## Parameters

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

## Return Value

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

- [supertypes](uniformtypeidentifiers/uttype-swift.struct/supertypes.md)
- [conforms(to:)](uniformtypeidentifiers/uttype-swift.struct/conforms(to:).md)
- [isSubtype(of:)](uniformtypeidentifiers/uttype-swift.struct/issubtype(of:).md)
- [Navigating Hierarchical Data Using Outline and Split Views](appkit/navigating-hierarchical-data-using-outline-and-split-views.md)
