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

Method #arrayDeclaration

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

Source from the content-addressed store, hash-verified

185 return `${title} = `;
186 }
187 #arrayDeclaration(keys: string[], value: unknown[]): string {
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 }

Callers 1

#printObjectMethod · 0.95

Calls 2

#declarationMethod · 0.95
stringifyMethod · 0.80

Tested by

no test coverage detected