Function isAlpha

  • Checks if a character is an alphabet.

    Parameters

    • char: string

      The character to check.

    Returns boolean

    True if the character is an alphabet, false otherwise.