Skip to main content

@terascope/utils / phone-number

phone-number

Functions

isISDN()

isISDN(input, country?): boolean

Parameters

ParameterType
inputunknown
country?string

Returns

boolean

Source

packages/utils/src/phone-number.ts:25


isPhoneNumberLike()

isPhoneNumberLike(input): boolean

Parameters

ParameterType
inputunknown

Returns

boolean

Source

packages/utils/src/phone-number.ts:35


parsePhoneNumber()

parsePhoneNumber(input): string

Parameters

ParameterType
inputstring | number

Returns

string

Source

packages/utils/src/phone-number.ts:6