Function pickMostReadableCharacter

  • Returns the most humanly readable character in the given character set. Which character is picked is entirely implementation-defined but, generally, word characters will be picked over non-word characters and printable characters will be picked over non-printable characters.

    If the given character set is empty, undefined will be returned.

    Parameters

    Returns Char | undefined