pub unsafe fn is_error(context: *mut JSContext, obj_ref: &JSValueRef) -> bool
Expand description

See if a JSValueRef is an Error object

Safety

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