Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/content / ColorizeFn

Type Alias: ColorizeFn()

ColorizeFn = (color, text) => string

Defined in: packages/b2c-tooling-sdk/src/operations/content/types.ts:65

A function that applies terminal color/style to text. Compatible with oclif's ux.colorize(color, text) signature.

Parameters

color

string

text

string

Returns

string

Released under the Apache-2.0 License.