JSBigInt
A wrapper around the JavaScript BigInt
class that exposes its properties in a type-safe and Swifty way.
final class JSBigInt
A wrapper around the JavaScript BigInt
class that exposes its properties in a type-safe and Swifty way.
final class JSBigInt
import JavaScriptKit
Swift framework to interact with JavaScript through WebAssembly.
@dynamicMemberLookup class JSObject
JSObject
represents an object in JavaScript and supports dynamic member lookup. Any member access like object.foo
will dynamically request the JavaScript and Swift runtime bridge library for a member with the specified name in this object.
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
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)
override var jsValue: JSValue { get }
func clamped(bitSize: Int, signed: Bool) -> JSBigInt
protocol JSBigIntExtended : JSBigInt
import JavaScriptBigIntSupport
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable
convenience init(_ value: Int64)
convenience init(unsigned value: UInt64)
var int64Value: Int64 { get }
var uInt64Value: UInt64 { get }