Enumerationswiftwasm.webapikit 0.1.0DOM
Bool_or_Double_or_String
Generated.swift:21032enum Bool_or_Double_or_String
enum Bool_or_Double_or_String
import DOM
case bool(Bool)
case double(Double)
case string(String)
protocol Any_Bool_or_Double_or_String : ConvertibleToJSValue
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.
static func construct(from value: JSValue) -> Self?
var bool: Bool? { get }
var double: Double? { get }
var jsValue: JSValue { get }
var string: String? { get }
func jsValue() -> JSValue