MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / getProp

Method getProp

packages/core/src/document/node/node.ts:403–405  ·  view source on GitHub ↗
(path: string, createIfNone = true)

Source from the content-addressed store, hash-verified

401 }
402
403 getProp(path: string, createIfNone = true) {
404 return this.props.query(path, createIfNone) || null
405 }
406
407 getExtraProp(key: string, createIfNone = true) {
408 return this.getProp(getConvertedExtraKey(key), createIfNone)

Callers 6

getExtraPropMethod · 0.95
setExtraPropMethod · 0.95
getPropValueMethod · 0.95
setPropValueMethod · 0.95
clearExtraPropValueMethod · 0.95
clearPropValueMethod · 0.95

Calls 1

queryMethod · 0.80

Tested by

no test coverage detected