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

Method hasOwnPropertyStr

proxy.go:497–499  ·  view source on GitHub ↗
(name unistring.String)

Source from the content-addressed store, hash-verified

495}
496
497func (p *proxyObject) hasOwnPropertyStr(name unistring.String) bool {
498 return p.getOwnPropStr(name) != nil
499}
500
501func (p *proxyObject) hasOwnPropertyIdx(idx valueInt) bool {
502 return p.getOwnPropIdx(idx) != nil

Callers

nothing calls this directly

Calls 1

getOwnPropStrMethod · 0.95

Tested by

no test coverage detected