MCPcopy Create free account
hub / github.com/dop251/goja / hasSym

Method hasSym

proxy.go:231–233  ·  view source on GitHub ↗
(target *Object, prop *Symbol)

Source from the content-addressed store, hash-verified

229}
230
231func (h *jsProxyHandler) hasSym(target *Object, prop *Symbol) (bool, bool) {
232 return h.boolProxyCall(proxy_trap_has, target, prop)
233}
234
235func (h *jsProxyHandler) getStr(target *Object, prop unistring.String, receiver Value) (Value, bool) {
236 return h.proxyCall(proxy_trap_get, target, stringValueFromRaw(prop), receiver)

Callers

nothing calls this directly

Calls 1

boolProxyCallMethod · 0.95

Tested by

no test coverage detected