Function getColorEnabled

  • Get whether text color change is enabled or disabled.

    Returns boolean

    true if text color is enabled, false otherwise

    import { getColorEnabled } from "@std/fmt/colors";

    console.log(getColorEnabled()); // true if enabled, false if disabled