MCPcopy Create free account
hub / github.com/buke/quickjs-go / IsError

Method IsError

value.go:1092–1092  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1090func (v *Value) IsArray() bool { return v != nil && bool(C.JS_IsArray(v.ref)) }
1091func (v *Value) IsDate() bool { return v != nil && bool(C.JS_IsDate(v.ref)) }
1092func (v *Value) IsError() bool { return v != nil && bool(C.JS_IsError(v.ref)) }
1093func (v *Value) IsRegExp() bool { return v != nil && bool(C.JS_IsRegExp(v.ref)) }
1094func (v *Value) IsMap() bool { return v != nil && bool(C.JS_IsMap(v.ref)) }
1095func (v *Value) IsSet() bool { return v != nil && bool(C.JS_IsSet(v.ref)) }

Callers 5

ToErrorMethod · 0.95
TestContextErrorHandlingFunction · 0.80
TestDeprecatedAPIsFunction · 0.80
TestValueErrorFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestContextErrorHandlingFunction · 0.64
TestDeprecatedAPIsFunction · 0.64
TestValueErrorFunction · 0.64