Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/fmt/colors.ts>getColorEnabled

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function getColorEnabled
import { getColorEnabled } from "https://deno.land/std@0.219.1/fmt/colors.ts";

Get whether text color change is enabled or disabled.

Returns

boolean