---
title: "hasAPISchema(_:)"
framework: usdkit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdprim/hasapischema(_:)"
---

# hasAPISchema(_:)

Returns true if this prim has a particular API schema applied.

## Declaration

```swift
func hasAPISchema(_ schemaIdentifier: USDToken) -> Bool
```
