Variable prettyPhoneConst
prettyPhone: (
input: string,
options?: { style?: "intl" | "plain" },
) => string | null
Type Declaration
-
- (input: string, options?: { style?: "intl" | "plain" }): string | null
-
Parameters
- input: string
Optionaloptions: { style?: "intl" | "plain" }
Returns string | null
'+62 812-3456-7890' pretty print, or null when not a phone.