• Prettify a text by applying colorization based on a specified color.

    Parameters

    • text: string

      The input text to be prettified.

    • colour: Colour

      The color to apply during prettification.

    Returns string | never

    The prettified text with applied colorization.

    Function

    _Prettify

    Throws

    Throws an error if the prettified message is empty.

Generated using TypeDoc