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