aoc/utils/str.ts
2023-12-02 22:51:23 -07:00

2 lines
77 B
TypeScript

export const isNumeric = (symbol: string) => symbol <= "9" && symbol >= "0";