Sha256: 2db3bf80ebb2e42dec92404acf0b76d79237f24ec5742488980e1c2436f32379
Contents?: true
Size: 294 Bytes
Versions: 16
Compression:
Stored size: 294 Bytes
Contents
/*! * is-number <https://github.com/jonschlinkert/is-number> * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; module.exports = function isNumber(n) { return (!!(+n) && !Array.isArray(n)) && isFinite(n) || n === '0' || n === 0; };
Version data entries
16 entries across 16 versions & 3 rubygems