<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "JavaScriptCore",
  "identifier" : "/documentation/JavaScriptCore/JSValueIsBigInt(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "JavaScriptCore"
    ],
    "preciseIdentifier" : "c:@F@JSValueIsBigInt"
  },
  "title" : "JSValueIsBigInt(_:_:)"
}
-->

# JSValueIsBigInt(_:_:)

```
func JSValueIsBigInt(_ ctx: JSContextRef, _ value: JSValueRef) -> Bool
```

## Parameters

`ctx`

The execution context to use.

`value`

The JSValue to test.

## Return Value

true if value’s type is the BigInt type, otherwise false.

## Discussion

\abstract Tests whether a JavaScript value’s type is the BigInt 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)