Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
fileName
Method · 0.80
title
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected