Function escapeSequence

  • Takes an input string and returns an escaped sequence.

    Example

    escapeSequence("Vangware"); // "\x1bVangware"
    

    Returns

    String with ESC character prepended.

    Type Parameters

    • Input extends string

    Parameters

    • input: Input

      String to escape.

    Returns `${Input}`