Function quickjs_runtime::quickjs_utils::errors::is_error[][src]

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

See if a JSValueRef is an Error object

Safety

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