Function try_get_js_value_prop

Source
pub fn try_get_js_value_prop(
    jsv: &JsValue,
    prop: &str,
) -> Result<JsValue, Error>
Expand description

Obtain a JsValue from a JavaScript object property. Results in an Error if the property does not exist.