Function from_js

Source
pub fn from_js<T: DeserializeOwned>(value: impl Into<JsValue>) -> JsResult<T>