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

Method _has

object_dynamic.go:674–676  ·  view source on GitHub ↗
(idx int)

Source from the content-addressed store, hash-verified

672}
673
674func (a *dynamicArray) _has(idx int) bool {
675 return idx >= 0 && idx < a.a.Len()
676}
677
678func (a *dynamicArray) hasOwnPropertyStr(u unistring.String) bool {
679 if u == "length" {

Callers 3

hasOwnPropertyStrMethod · 0.95
hasOwnPropertyIdxMethod · 0.95
_deleteMethod · 0.95

Calls 1

LenMethod · 0.65

Tested by

no test coverage detected