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

Function isContextValueSpec

value_spec.go:62–72  ·  view source on GitHub ↗
(spec ValueSpec)

Source from the content-addressed store, hash-verified

60}
61
62func isContextValueSpec(spec ValueSpec) bool {
63 if spec == nil {
64 return false
65 }
66 _, ok := spec.(contextValueSpec)
67 if ok {
68 return true
69 }
70 _, ok = spec.(*contextValueSpec)
71 return ok
72}

Callers 4

createClassFunction · 0.85
goClassConstructorProxyFunction · 0.85
goModuleInitProxyFunction · 0.85

Calls

no outgoing calls

Tested by 1