Checks if a string is alphabetic (a-zA-Z), optionally ignoring specified characters.

  • Parameters

    • value: string

      The string to validate.

    • options: IsAlphaOptions = {}

      Validation options, including characters to ignore.

    Returns boolean

    true if the string is alphabetic (or contains only ignored characters), false otherwise.