try_get

Function try_get 

Source
pub fn try_get<T>(object: &Object, key: &str) -> Result<T>
where T: TryFrom<JsValue, Error = Error>,