ai-tube / src /app /server /actions /utils /isValidNumber.ts
jbilcke-hf's picture
jbilcke-hf HF staff
update
0f35d4c
raw
history blame
117 Bytes
export function isValidNumber(input?: any) {
return typeof input === "number" && !isNaN(input) && isFinite(input)
}