PakDataKit - v2.2.0
    Preparing search index...

    Function getNetwork

    • Detects the mobile network for a Pakistani phone number based on its prefix.

      Returns the network the prefix was originally allocated to. Due to Mobile Number Portability (MNP) and operator mergers, the current carrier may differ.

      Parameters

      • phone: string

        The phone number to look up

      Returns NetworkName

      Network name or "Unknown" if the number is not a valid Pakistani mobile number