util.ts 90 Bytes
Newer Older
Mark Stenglein's avatar
Mark Stenglein committed
1 2
export function isAlpha(input: string): boolean {
    return /^[a-zA-Z]+$/.test(input);
3
}