Contents

init(newBigIntFrom:in:)

Declaration

init?(newBigIntFrom uint64: UInt64, in context: JSContext)

Parameters

  • uint64:

    The unsigned 64-bit integer of the BigInt JavaScript value being created.

  • context:

    The JSContext to which the resulting JSValue belongs.

Return Value

The JSValue representing a JavaScript value with type BigInt.

Discussion

Create a new BigInt value from a uint64_t.