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

Method hasOwnPropertyStr

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

Source from the content-addressed store, hash-verified

361}
362
363func (o *dynamicObject) hasOwnPropertyStr(u unistring.String) bool {
364 return o.d.Has(u.String())
365}
366
367func (o *dynamicObject) hasOwnPropertyIdx(v valueInt) bool {
368 return o.d.Has(v.String())

Callers 1

hasPropertyStrMethod · 0.95

Calls 2

HasMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected