<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UniformTypeIdentifiers",
  "identifier" : "/documentation/UniformTypeIdentifiers/UTTypeReference/isSubtype(of:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Uniform Type Identifiers",
      "UniformTypeIdentifiers"
    ],
    "preciseIdentifier" : "c:objc(cs)UTType(im)isSubtypeOfType:"
  },
  "title" : "isSubtype(of:)"
}
-->

# isSubtype(of:)

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

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

## Parameters

`type`

A [`UTType`](/documentation/UniformTypeIdentifiers/UTType-swift.struct) instance.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the type directly or indirectly conforms to `type`, but returns <doc://com.apple.documentation/documentation/Swift/false> if it’s equal to `type`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)