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

Method hasPropertyStr

object_dynamic.go:654–662  ·  view source on GitHub ↗
(u unistring.String)

Source from the content-addressed store, hash-verified

652}
653
654func (a *dynamicArray) hasPropertyStr(u unistring.String) bool {
655 if a.hasOwnPropertyStr(u) {
656 return true
657 }
658 if proto := a.prototype; proto != nil {
659 return proto.self.hasPropertyStr(u)
660 }
661 return false
662}
663
664func (a *dynamicArray) hasPropertyIdx(idx valueInt) bool {
665 if a.hasOwnPropertyIdx(idx) {

Callers

nothing calls this directly

Calls 2

hasOwnPropertyStrMethod · 0.95
hasPropertyStrMethod · 0.65

Tested by

no test coverage detected