3 lines
81 B
TypeScript
3 lines
81 B
TypeScript
export function is_digit(c: string): boolean {
|
|
return c >= '0' && c <= '9';
|
|
} |