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

Method IsObject

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

Source from the content-addressed store, hash-verified

1087func (v *Value) IsString() bool { return v != nil && bool(C.JS_IsString(v.ref)) }
1088func (v *Value) IsSymbol() bool { return v != nil && bool(C.JS_IsSymbol(v.ref)) }
1089func (v *Value) IsObject() bool { return v != nil && bool(C.JS_IsObject(v.ref)) }
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)) }

Callers 15

HasInstanceDataMethod · 0.95
IsInstanceOfClassIDMethod · 0.95
GetGoObjectMethod · 0.95
TestContextBasicsFunction · 0.80
TestContextUtilitiesFunction · 0.80
TestDeprecatedAPIsFunction · 0.80
unmarshalMapMethod · 0.80
unmarshalStructMethod · 0.80

Calls

no outgoing calls

Tested by 8

TestContextBasicsFunction · 0.64
TestContextUtilitiesFunction · 0.64
TestDeprecatedAPIsFunction · 0.64
TestValueBasicsFunction · 0.64
TestValueFunctionCallsFunction · 0.64