Instance Propertyjavascriptkit 0.24.0JavaScriptKit
jsValue
JSBigInt.swift:27override var jsValue: JSValue { get }
override var jsValue: JSValue { get }
import JavaScriptKit
Swift framework to interact with JavaScript through WebAssembly.
final class JSBigInt
A wrapper around the JavaScript BigInt
class that exposes its properties in a type-safe and Swifty way.
@dynamicMemberLookup enum JSValue
JSValue
represents a value in JavaScript.
var jsValue: JSValue { get }
init(_slowBridge value: Int64)
Instantiate a new JSBigInt
with given Int64 value in a slow path This doesn’t require JS-BigInt-integration feature.
init(_slowBridge value: UInt64)
Instantiate a new JSBigInt
with given UInt64 value in a slow path This doesn’t require JS-BigInt-integration feature.
override init(id: JavaScriptObjectRef)
func clamped(bitSize: Int, signed: Bool) -> JSBigInt