[−][src]Function xterm_js_sys::idx_to_opt
fn idx_to_opt(idx: i32) -> Option<u32>
Converts an i32 into an Option<u32> (following the JS convention where
-1 indicates an error/lack of an element).
fn idx_to_opt(idx: i32) -> Option<u32>
Converts an i32 into an Option<u32> (following the JS convention where
-1 indicates an error/lack of an element).