Home Reference Source Test

src/testFunctions/types/float.js

const { NUMBER } = require('../primitives');

const float = {
  ...NUMBER,
  type: val => Number(val) === val && val % 1 !== 0,
};
module.exports = float;