isFloat
Basic usage
Pass in a value and get a boolean telling you if the value is a float.
import { isFloat } from 'radash'
isFloat(12.233) // => trueisFloat(12) // => falseisFloat('hello') // => false
Pass in a value and get a boolean telling you if the value is a float.
import { isFloat } from 'radash'
isFloat(12.233) // => trueisFloat(12) // => falseisFloat('hello') // => false