Function js_sys::try_iter

source ยท
pub fn try_iter(val: &JsValue) -> Result<Option<IntoIter>, JsValue>
Expand description

Create an iterator over val using the JS iteration protocol and Symbol.iterator.