MCPcopy
hub / github.com/vercel/next.js / formatArgs

Function formatArgs

packages/next/src/server/dev/server-action-logger.ts:30–32  ·  view source on GitHub ↗
(args: unknown[])

Source from the content-addressed store, hash-verified

28 * Format arguments array to a string for display
29 */
30export function formatArgs(args: unknown[]): string {
31 return args.map((a) => formatArg(a)).join(', ')
32}
33
34export interface ServerActionLogInfo {
35 functionName: string

Callers 1

logRequestsFunction · 0.90

Calls 3

formatArgFunction · 0.70
joinMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected