src/filters/number/float.js
/**
* Filter float values
* @param {Number} value The value to Filter
* @return {Boolean} true if value is a float, false otherwise
*/
export default function (value) {
return value % 1 !== 0;
}
/**
* Filter float values
* @param {Number} value The value to Filter
* @return {Boolean} true if value is a float, false otherwise
*/
export default function (value) {
return value % 1 !== 0;
}