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

Method _hasStr

object_gomap.go:76–79  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

74}
75
76func (o *objectGoMapSimple) _hasStr(name string) bool {
77 _, exists := o.data[name]
78 return exists
79}
80
81func (o *objectGoMapSimple) hasOwnPropertyStr(name unistring.String) bool {
82 return o._hasStr(name.String())

Callers 3

setForeignStrMethod · 0.95
hasOwnPropertyStrMethod · 0.95
defineOwnPropertyStrMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected