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

Method hasOwnPropertyIdx

object_dynamic.go:367–369  ·  view source on GitHub ↗
(v valueInt)

Source from the content-addressed store, hash-verified

365}
366
367func (o *dynamicObject) hasOwnPropertyIdx(v valueInt) bool {
368 return o.d.Has(v.String())
369}
370
371func (*baseDynamicObject) hasOwnPropertySym(_ *Symbol) bool {
372 return false

Callers 1

hasPropertyIdxMethod · 0.95

Calls 2

HasMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected