2
0
Files
bot/packages/bot-engine/blocks/inputs/number/validateNumber.ts
2023-09-20 15:42:34 +02:00

2 lines
81 B
TypeScript

export const validateNumber = (inputValue: string) => !isNaN(Number(inputValue))