Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 725 Bytes

formatPartialUSPhoneNumber.md

File metadata and controls

27 lines (16 loc) · 725 Bytes

e164numDocs


e164num / formatPartialUSPhoneNumber

Function: formatPartialUSPhoneNumber()

formatPartialUSPhoneNumber(e164PhoneNumber): string

Returns a formatted partial US phone number based on the received E.164 phone number. This can be used to format phone numbers in input fields as the user types.

Parameters

Parameter Type Description
e164PhoneNumber string The phone number to format.

Returns

string

Source

formatPartialUSPhoneNumber.ts:8