Skip to main content

is_array_like

Function is_array_like 

Source
pub fn is_array_like<D>(cx: &mut JSContext, value: Handle<'_, Value>) -> bool
where D: DomTypes,
Expand description

Returns whether value is an array-like object (Array, FileList, HTMLCollection, HTMLFormControlsCollection, HTMLOptionsCollection, NodeList, DOMTokenList).