Function script::dom::bindings::utils::get_array_index_from_id

source ยท
pub unsafe fn get_array_index_from_id(
    _cx: *mut JSContext,
    id: HandleId<'_>,
) -> Option<u32>
Expand description

Get an array index from the given jsid. Returns None if the given jsid is not an integer.