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

Method IsFunction

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

Source from the content-addressed store, hash-verified

1099func (v *Value) IsDataView() bool { return v != nil && bool(C.JS_IsDataView(v.ref)) }
1100func (v *Value) IsProxy() bool { return v != nil && bool(C.JS_IsProxy(v.ref)) }
1101func (v *Value) IsFunction() bool { return v != nil && bool(C.JS_IsFunction(v.ctx.ref, v.ref)) }
1102func (v *Value) IsAsyncFunction() bool { return v != nil && bool(C.JS_IsAsyncFunction(v.ref)) }
1103func (v *Value) IsConstructor() bool { return v != nil && bool(C.JS_IsConstructor(v.ctx.ref, v.ref)) }
1104

Callers 7

TestDeprecatedAPIsFunction · 0.80
unmarshalInterfaceMethod · 0.80
TestValueSpecialTypesFunction · 0.80

Calls

no outgoing calls

Tested by 5

TestDeprecatedAPIsFunction · 0.64
TestValueSpecialTypesFunction · 0.64