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

x/dxx/src/lib/$shared.ts>$logger.FormatFn

🚀 (Deno) enhanced executor
Latest
type alias $logger.FormatFn
import { type $logger } from "https://deno.land/x/dxx@rf/src/lib/$shared.ts";
const { FormatFn } = $logger;

A type defining a function which takes an input string and outputs the string with formatting (eg, bold, red, italics, etc) applied to it.

definition: (s: string) => string