Function is_array_like

Source
pub(crate) unsafe 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).

ยงSafety

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