Enumeration Casejavascriptkit 0.24.0JavaScriptKit
boolean(_:)
JSValue.swift:6case boolean(Bool)
case boolean(Bool)
import JavaScriptKit
Swift framework to interact with JavaScript through WebAssembly.
@dynamicMemberLookup enum JSValue
JSValue
represents a value in JavaScript.
@frozen struct Bool
A value type whose instances are either true
or false
.
case string(JSString)
case number(Double)
case object(JSObject)
case null
case undefined
case function(JSFunction)
case symbol(JSSymbol)
case bigInt(JSBigInt)