---
title: "JSValueIsBigInt(_:_:)"
framework: JavaScriptCore
role: symbol
role_heading: Function
platforms: [iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+, tvOS 9.0+, visionOS 2.0+]
path: "javascriptcore/jsvalueisbigint(_:_:)"
---

# JSValueIsBigInt(_:_:)

## Declaration

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

## Parameters

- `ctx`: The execution context to use.
- `value`: The JSValue to test.

## Return Value

Return Value True if value’s type is the BigInt type, otherwise false.

## Discussion

Discussion Tests whether a JavaScript value’s type is the BigInt type.
