MCPcopy Create free account
hub / github.com/denoland/std / #strDeclaration

Method #strDeclaration

toml/stringify.ts:190–192  ·  view source on GitHub ↗
(keys: string[], value: string)

Source from the content-addressed store, hash-verified

188 return `${this.#declaration(keys)}${JSON.stringify(value)}`;
189 }
190 #strDeclaration(keys: string[], value: string): string {
191 return `${this.#declaration(keys)}${JSON.stringify(value)}`;
192 }
193 #numberDeclaration(keys: string[], value: number): string {
194 if (Number.isNaN(value)) {
195 return `${this.#declaration(keys)}nan`;

Callers 1

#printObjectMethod · 0.95

Calls 2

#declarationMethod · 0.95
stringifyMethod · 0.80

Tested by

no test coverage detected