Function quickjs_runtime::quickjs_utils::arrays::get_length

source ·
pub unsafe fn get_length(
    context: *mut JSContext,
    arr_ref: &QuickJsValueAdapter,
) -> Result<u32, JsError>
Expand description

Get the length of an Array

§Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid