aoc/utils/str.ts

2 lines
77 B
TypeScript
Raw Normal View History

2023-12-03 00:51:23 -05:00
export const isNumeric = (symbol: string) => symbol <= "9" && symbol >= "0";