<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "JavaScriptCore",
  "identifier" : "/documentation/JavaScriptCore/JSTypedArrayType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "JavaScriptCore"
    ],
    "preciseIdentifier" : "c:@EA@JSTypedArrayType"
  },
  "title" : "JSTypedArrayType"
}
-->

# JSTypedArrayType

The type of a JavaScript typed array object.

```
struct JSTypedArrayType
```

## Topics

### Constants

[`kJSTypedArrayTypeNone`](/documentation/JavaScriptCore/kJSTypedArrayTypeNone)

Not a typed array.

[`kJSTypedArrayTypeArrayBuffer`](/documentation/JavaScriptCore/kJSTypedArrayTypeArrayBuffer)

An array buffer type.

[`kJSTypedArrayTypeInt8Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeInt8Array)

An 8-bit integer array type.

[`kJSTypedArrayTypeInt16Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeInt16Array)

A 16-bit integer array type.

[`kJSTypedArrayTypeInt32Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeInt32Array)

A 32-bit integer array type.

[`kJSTypedArrayTypeBigInt64Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeBigInt64Array)

[`kJSTypedArrayTypeUint8Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeUint8Array)

An 8-bit unsigned integer array type.

[`kJSTypedArrayTypeUint8ClampedArray`](/documentation/JavaScriptCore/kJSTypedArrayTypeUint8ClampedArray)

An 8-bit unsigned integer clamped array type.

[`kJSTypedArrayTypeUint16Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeUint16Array)

A 16-bit unsigned integer array type.

[`kJSTypedArrayTypeUint32Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeUint32Array)

A 32-bit unsigned integer array type.

[`kJSTypedArrayTypeBigUint64Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeBigUint64Array)

[`kJSTypedArrayTypeFloat32Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeFloat32Array)

A 32-bit floating point array type.

[`kJSTypedArrayTypeFloat64Array`](/documentation/JavaScriptCore/kJSTypedArrayTypeFloat64Array)

A 64-bit floating point array type.

### Initializers

[`init(_:)`](/documentation/JavaScriptCore/JSTypedArrayType/init(_:))

Creates a typed array.

[`init(rawValue:)`](/documentation/JavaScriptCore/JSTypedArrayType/init(rawValue:))

Creates a typed array with the specified raw value.

[`rawValue`](/documentation/JavaScriptCore/JSTypedArrayType/rawValue)

The raw value that represents the typed array’s type.



---

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)