uni-phone
Version:
a glossary of universally intuitive time, date, and duration domain literals
14 lines (13 loc) • 305 B
TypeScript
/**
* .what = casts a partial phone into human words
* .example
* - 33 => (33
* - 3335 => (333) 5
* - 33355577 => (333) 555-77
* - 333555777777 => (333) 555-7777
* .usecases
* - input masks
*/
export declare const asPartialPhoneInHumanWords: (input: {
number: string;
}) => string;