Skip to main content
Module

x/phonenumber/index.d.ts>getNumberFrom

Google's libphonenumber pre-compiled with the closure compiler
Latest
function getNumberFrom
import { getNumberFrom } from "https://deno.land/x/phonenumber@v7.0.1/index.d.ts";

Get a phonenumber string as it would be called from another country.

Parameters

parsedPhoneNumber: ParsedPhoneNumberValid

A phone number object as returned from parsePhoneNumber()

optional
regionCode: string

Region code of the country to call from