* 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 = '')
| 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. |