MCPcopy Create free account
hub / github.com/Stevenic/codepilot / value

Method value

src/internals/Colorize.ts:89–91  ·  view source on GitHub ↗

* Renders the given text as a value. * @param field Field name to render. * @param value Value to render. * @param units Optional. Units to use for numbers. Defaults to `''`.

(field: string, value: any, units: string = '')

Source from the content-addressed store, hash-verified

87 * @param units Optional. Units to use for numbers. Defaults to `''`.
88 */
89 public static value(field: string, value: any, units: string = ''): string {
90 return `${field}: ${Colorize.output(value, '"', units)}`;
91 }
92
93 /**
94 * Renders the given text as a warning.

Callers

nothing calls this directly

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected