Takes an input string and adds the ANSI codes for underlined text.
input
underlined("Vangware"); // "\x1b[4mVangware\x1b[24m"// It can also be used as a tag function for tagged templates:underlined`Vangware`; // "\x1b[4mVangware\x1b[24m"
input string with underlined format.
Rest
Takes an
input
string and adds the ANSI codes for underlined text.Example
Returns
input
string with underlined format.