Skip to content

isFloat

Return true if the given value is a number that is not an integer.

Usage

isFloat(0); // => false
isFloat(0.1); // => true

Installation

Terminal window
npx atmx add helper is-float