try_get_option

Function try_get_option 

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