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

Method IsString

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

Source from the content-addressed store, hash-verified

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)) }
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)) }

Callers 15

TestContextBasicsFunction · 0.80
TestContextPromiseFunction · 0.80
TestDeprecatedAPIsFunction · 0.80
TestAtomBasicsFunction · 0.80
unmarshalMethod · 0.80
unmarshalInterfaceMethod · 0.80
UnmarshalJSMethod · 0.80
UnmarshalJSMethod · 0.80
TestMarshalBasicTypesFunction · 0.80

Calls

no outgoing calls

Tested by 13

TestContextBasicsFunction · 0.64
TestContextPromiseFunction · 0.64
TestDeprecatedAPIsFunction · 0.64
TestAtomBasicsFunction · 0.64
UnmarshalJSMethod · 0.64
UnmarshalJSMethod · 0.64
TestMarshalBasicTypesFunction · 0.64
TestDeprecatedAtomAPIsFunction · 0.64
TestValueBasicsFunction · 0.64