MCPcopy
hub / github.com/josdejong/mathjs / name

Method name

src/expression/node/AccessorNode.js:70–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68
69 // readonly property name
70 get name () {
71 if (this.index) {
72 return (this.index.isObjectProperty())
73 ? this.index.getObjectProperty()
74 : ''
75 } else {
76 return this.object.name || ''
77 }
78 }
79
80 static name = name
81 get type () { return name }

Callers

nothing calls this directly

Calls 2

isObjectPropertyMethod · 0.80
getObjectPropertyMethod · 0.80

Tested by

no test coverage detected