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

Method hasOwnPropertyIdx

object_dynamic.go:688–690  ·  view source on GitHub ↗
(v valueInt)

Source from the content-addressed store, hash-verified

686}
687
688func (a *dynamicArray) hasOwnPropertyIdx(v valueInt) bool {
689 return a._has(toIntStrict(int64(v)))
690}
691
692func (a *dynamicArray) defineOwnPropertyStr(name unistring.String, desc PropertyDescriptor, throw bool) bool {
693 if a.checkDynamicObjectPropertyDescr(name, desc, throw) {

Callers 1

hasPropertyIdxMethod · 0.95

Calls 2

_hasMethod · 0.95
toIntStrictFunction · 0.85

Tested by

no test coverage detected