2
0
Files
bot/packages/bot-engine/blocks/inputs/number/validateNumber.ts

2 lines
81 B
TypeScript
Raw Normal View History

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