sycamore::web::js_sys

Function 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.