Protocol
TypedArrayElement
public protocol TypedArrayElement: ConvertibleToJSValue, ConstructibleFromJSValue
A protocol that allows a Swift numeric type to be mapped to the JavaScript TypedArray that holds integers of its type
Relationships
Conforms To
ConstructibleFromJSValue
Types conforming to this protocol can be constructed from
JSValue
.ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
Requirements
typedArrayClass
static var typedArrayClass: JSFunction
The constructor function for the TypedArray class for this particular kind of number