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

Method hasOwnPropertyIdx

proxy.go:501–503  ·  view source on GitHub ↗
(idx valueInt)

Source from the content-addressed store, hash-verified

499}
500
501func (p *proxyObject) hasOwnPropertyIdx(idx valueInt) bool {
502 return p.getOwnPropIdx(idx) != nil
503}
504
505func (p *proxyObject) hasOwnPropertySym(s *Symbol) bool {
506 return p.getOwnPropSym(s) != nil

Callers

nothing calls this directly

Calls 1

getOwnPropIdxMethod · 0.95

Tested by

no test coverage detected