Module workflow_wasm::utils
source · Expand description
Utilities for calling JavaScript functions and retrieving values from JavaScript object properties.
Functions
Call a JavaScript function without arguments
Call a JavaScript function with a single argument
Call a JavaScript function with two arguments
Obtain a
bool
value from the object property prop
Obtain
f64
value from an object property.Obtain a
JsValue
value from the object property prop
Obtain a
String
value from the object property prop
Obtain
u8
value from the object property prop
.Obtain a
u64
value from an object property.
Returns successfully parsed value or 0.Obtain
Vec<u8>
from the supplied big numberObtain a
Vec<u8>
from the property prop
expressed as a big numberObtain a
Vec<u8>
value from the object property prop
(using Uint8Array
)