Function white

  • Sets the color of text to be printed to white.

    Parameters

    • str: string

      Text to make white

    Returns string

    White text for print

    import { white } from "@std/internal/styles";

    console.log(white("Hello, world!")); // Prints "Hello, world!" in white