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

Method hasOwnPropertyIdx

object_goarray_reflect.go:224–226  ·  view source on GitHub ↗
(idx valueInt)

Source from the content-addressed store, hash-verified

222}
223
224func (o *objectGoArrayReflect) hasOwnPropertyIdx(idx valueInt) bool {
225 return o._hasIdx(idx)
226}
227
228func (o *objectGoArrayReflect) hasOwnPropertyStr(name unistring.String) bool {
229 if o._hasStr(name) || name == "length" {

Callers

nothing calls this directly

Calls 1

_hasIdxMethod · 0.95

Tested by

no test coverage detected