PakDataKit - v2.2.0
    Preparing search index...

    Function getPhonePrefix

    • Returns the local Pakistani mobile prefix (0XXX) from a phone number. Returns null when the phone cannot be normalized.

      Parameters

      • phone: string

      Returns string | null