runstorm - v0.6.2
    Preparing search index...

    Function wrapInColor

    • Wrap the given text in the given color key.

      Parameters

      • text: string
      • color:
            | "red"
            | "green"
            | "yellow"
            | "blue"
            | "cyan"
            | "magenta"
            | "bgRed"
            | "bgGreen"
            | "bgYellow"
            | "bgBlue"
            | "bgCyan"
            | "bgMagenta"

      Returns string