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

Method stringKeys

object_template.go:285–292  ·  view source on GitHub ↗
(all bool, keys []Value)

Source from the content-addressed store, hash-verified

283}
284
285func (o *templatedObject) stringKeys(all bool, keys []Value) []Value {
286 if all {
287 o.materialisePropNames()
288 } else {
289 o.materialiseProps()
290 }
291 return o.baseObject.stringKeys(all, keys)
292}
293
294func (o *templatedObject) symbols(all bool, accum []Value) []Value {
295 o.materialiseSymbols()

Callers 1

keysMethod · 0.95

Calls 3

materialisePropNamesMethod · 0.95
materialisePropsMethod · 0.95
stringKeysMethod · 0.65

Tested by

no test coverage detected