Skip to main content

user_iterator_fn

Function user_iterator_fn 

Source
pub fn user_iterator_fn(v: &Value) -> Option<Value>
Expand description

If v has an own/inherited Symbol.iterator method (internal key @@iterator), return it. Arrays/strings use the native fast path instead.