MCPcopy Create free account
hub / github.com/denoland/std / dump

Method dump

toml/stringify.ts:43–48  ·  view source on GitHub ↗
(fmtOptions: StringifyOptions = {})

Source from the content-addressed store, hash-verified

41 this.srcObject = srcObjc;
42 }
43 dump(fmtOptions: StringifyOptions = {}): string[] {
44 // deno-lint-ignore no-explicit-any
45 this.output = this.#printObject(this.srcObject as any);
46 this.output = this.#format(fmtOptions);
47 return this.output;
48 }
49 #printObject(obj: Record<string, unknown>, keys: string[] = []): string[] {
50 const out = [];
51 const props = Object.keys(obj);

Callers 1

stringifyFunction · 0.80

Calls 2

#printObjectMethod · 0.95
#formatMethod · 0.95

Tested by

no test coverage detected