mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-02 22:17:39 +00:00
6 lines
258 B
TypeScript
6 lines
258 B
TypeScript
// Will apply any type to source
|
|
export const getSource = (): number => (global as any).source;
|
|
|
|
// Will clean string of any character that isn't 0-9, or a-z
|
|
export const clean = (input: string): string => (input ? input.replace(/[^0-9a-z]/gi, '') : input);
|