quickjs_runtime::quickjs_utils::sets

Function size

source
pub unsafe fn size(
    ctx: *mut JSContext,
    set: &QuickJsValueAdapter,
) -> Result<i32, JsError>
Expand description

get the number of entries in a Set

ยงSafety

please ensure the passed JSContext is still valid