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

Method hasPropertySym

proxy.go:485–495  ·  view source on GitHub ↗
(s *Symbol)

Source from the content-addressed store, hash-verified

483}
484
485func (p *proxyObject) hasPropertySym(s *Symbol) bool {
486 target := p.target
487 if b, ok := p.checkHandler().hasSym(target, s); ok {
488 if !b {
489 p.proxyHasChecks(target.self.getOwnPropSym(s), target, s)
490 }
491 return b
492 }
493
494 return target.self.hasPropertySym(s)
495}
496
497func (p *proxyObject) hasOwnPropertyStr(name unistring.String) bool {
498 return p.getOwnPropStr(name) != nil

Callers

nothing calls this directly

Calls 5

checkHandlerMethod · 0.95
proxyHasChecksMethod · 0.95
hasSymMethod · 0.65
getOwnPropSymMethod · 0.65
hasPropertySymMethod · 0.65

Tested by

no test coverage detected