Function hasArabic

Check if string includes Arabic alphabet.

  • Parameters

    • str: string

    Returns boolean

    Return true if the entered string includes persian characters