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

Method clearPropValue

packages/core/src/document/node/node.ts:435–437  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

433 }
434
435 clearPropValue(path: string): void {
436 this.getProp(path, false)?.unset()
437 }
438
439 mergeProps(props: PropsMap) {
440 this.props.merge(props)

Callers

nothing calls this directly

Calls 2

getPropMethod · 0.95
unsetMethod · 0.80

Tested by

no test coverage detected