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

Method getAsString

packages/core/src/document/prop/prop.ts:476–481  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

474 }
475
476 getAsString() {
477 if (this.type === 'literal') {
478 return this._value ? String(this._value) : ''
479 }
480 return ''
481 }
482
483 get(path: PropKey, createIfNone = true): Prop | null {
484 const type = this._type

Callers 2

fileNameMethod · 0.80
titleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected