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

Method hasOwnPropertyStr

object_gomap.go:81–83  ·  view source on GitHub ↗
(name unistring.String)

Source from the content-addressed store, hash-verified

79}
80
81func (o *objectGoMapSimple) hasOwnPropertyStr(name unistring.String) bool {
82 return o._hasStr(name.String())
83}
84
85func (o *objectGoMapSimple) defineOwnPropertyStr(name unistring.String, descr PropertyDescriptor, throw bool) bool {
86 if !o.val.runtime.checkHostObjectPropertyDescr(name, descr, throw) {

Callers

nothing calls this directly

Calls 2

_hasStrMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected