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

Method IsUndefined

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

Source from the content-addressed store, hash-verified

1082func (v *Value) IsBool() bool { return v != nil && bool(C.JS_IsBool(v.ref)) }
1083func (v *Value) IsNull() bool { return v != nil && bool(C.JS_IsNull(v.ref)) }
1084func (v *Value) IsUndefined() bool { return v != nil && bool(C.JS_IsUndefined(v.ref)) }
1085func (v *Value) IsException() bool { return v != nil && bool(C.JS_IsException(v.ref)) }
1086func (v *Value) IsUninitialized() bool { return v != nil && bool(C.JS_IsUninitialized(v.ref)) }
1087func (v *Value) IsString() bool { return v != nil && bool(C.JS_IsString(v.ref)) }

Callers 14

TestContextBasicsFunction · 0.80
TestContextAsyncFunctionFunction · 0.80
TestDeprecatedAPIsFunction · 0.80
ToErrorMethod · 0.80
GlobalInstanceofMethod · 0.80
unmarshalMethod · 0.80
unmarshalInterfaceMethod · 0.80
NewAsyncFunctionMethod · 0.80

Calls

no outgoing calls

Tested by 9

TestContextBasicsFunction · 0.64
TestContextAsyncFunctionFunction · 0.64
TestDeprecatedAPIsFunction · 0.64
TestValueBasicsFunction · 0.64