Function is_array_like

Source
pub unsafe fn is_array_like<D: DomTypes>(
    cx: *mut JSContext,
    value: HandleValue<'_>,
) -> bool
Expand description

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

ยงSafety

cx must point to a valid, non-null JSContext.