isnan Test whether value is NaN. Installation $ npm install isnan API const isNaN = require('isnan'); isNaN('foo' / 1); // => true isNaN({ foo: 'bar' }); // => false Running tests $ npm test License MIT