Function js_sys::try_iter [−][src]
pub fn try_iter(val: &JsValue) -> Result<Option<IntoIter>, JsValue>
Create an iterator over val
using the JS iteration protocol and
Symbol.iterator
.
pub fn try_iter(val: &JsValue) -> Result<Option<IntoIter>, JsValue>
Create an iterator over val
using the JS iteration protocol and
Symbol.iterator
.