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

Function printf

fmt/printf.ts:1012–1015  ·  view source on GitHub ↗
(format: string, ...args: unknown[])

Source from the content-addressed store, hash-verified

1010 * @throws {Error} If an invalid argument type is provided for a format specifier.
1011 */
1012export function printf(format: string, ...args: unknown[]) {
1013 const s = sprintf(format, ...args);
1014 Deno.stdout.writeSync(new TextEncoder().encode(s));
1015}

Callers 1

printf_test.tsFile · 0.90

Calls 2

sprintfFunction · 0.85
writeSyncMethod · 0.65

Tested by

no test coverage detected