(format: string, ...args: unknown[])
| 980 | * @throws {Error} If an invalid argument type is provided for a format specifier. |
| 981 | */ |
| 982 | export function sprintf(format: string, ...args: unknown[]): string { |
| 983 | const printf = new Printf(format, ...args); |
| 984 | return printf.doPrintf(); |
| 985 | } |
| 986 | |
| 987 | /** |
| 988 | * Converts and formats a variable number of `args` as is specified by `format`. |
no test coverage detected