PakDataKit - v2.2.0
    Preparing search index...

    Function validatePhone

    • Validates a Pakistani mobile phone number.

      Accepts local (03001234567), international (+923001234567, +92 (0) 300…), and short (3001234567) formats, with common separators and Urdu digits. The 03XX prefix must be allocated to a mobile operator.

      Parameters

      • phone: string

        The phone number string to validate

      Returns boolean

      true if valid, otherwise false