Skip to main content

js_option_string

Function js_option_string 

Source
pub fn js_option_string(obj: &JsValue, key: &str) -> Option<String>
Expand description

Read an optional string field from a JS object (helper for the SDK).