pub fn is_constructor_q(
q_ctx: &QuickJsRealmAdapter,
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)
pub fn is_constructor_q(
q_ctx: &QuickJsRealmAdapter,
obj_ref: &QuickJsValueAdapter,
) -> bool
see if an Object is an instance of Function and is a constructor (can be instantiated with new keyword)