@boost/terminalFunctionshasAnsihasAnsi CallablehasAnsi(value: string): booleanReturns true if the string contains ANSI escape codes. Based on ansi-regex. import { hasAnsi } from '@boost/terminal';hasAnsi('\u001B[4mTest\u001B[0m'); // true
Returns true if the string contains ANSI escape codes. Based on ansi-regex.