File size: 118 Bytes
3b81d2d
 
 
1
2
3
4
export function isValidNumber(input?: any) {
  return typeof input === "number" && !isNaN(input) && isFinite(input)
}