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

Method value

lib/internals/Colorize.js: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, value, units = '')

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected