ai-tube / src /lib /utils /isValidNumber.ts
jbilcke's picture
working to improve the clap format
f42b4a1
raw
history blame
137 Bytes
export function isValidNumber(input: any) {
return (
typeof (input) === "number" &&
isFinite(input) &&
!isNaN(input)
)
}