MCPcopy Create free account
hub / github.com/cryptii/cryptii / getString

Method getString

src/Chain.js:140–145  ·  view source on GitHub ↗

* Lazily retrieves the string representation. * @return {string}

()

Source from the content-addressed store, hash-verified

138 * @return {string}
139 */
140 getString () {
141 if (this._string === null) {
142 this._string = TextEncoder.stringFromCodePoints(this.getCodePoints())
143 }
144 return this._string
145 }
146
147 /**
148 * Alias of {@link Chain.getString}.

Callers 15

toStringMethod · 0.95
toLowerCaseMethod · 0.95
toUpperCaseMethod · 0.95
splitMethod · 0.95
matchMethod · 0.95
containsMethod · 0.95
indexOfMethod · 0.95
Chain.jsFile · 0.80
Pipe.jsFile · 0.80
assertEqualMethod · 0.80
truncateMethod · 0.80
serializeMethod · 0.80

Calls 2

getCodePointsMethod · 0.95
stringFromCodePointsMethod · 0.80

Tested by

no test coverage detected