method PrinterService.magenta
PrinterService.magenta(message: string): string

Return the provided message so that the foreground is magenta. Has no effect if colorEnabled is false.

Parameters

message: string

Return Type

string

Usage

import type PrinterService from ".";