pub unsafe fn is_constructor(
context: *mut JSContext,
obj_ref: &QuickJsValueAdapter,
) -> bool
Expand description
see if an Object is an instance of Function and is a constructor (can be instantiated with new keyword)
ยงSafety
When passing a context pointer please make sure the corresponding QuickJsContext is still valid