PHP 8.2.30
Preview: index.js Size: 411 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/is-number/index.js

/*!
 * is-number <https://github.com/jonschlinkert/is-number>
 *
 * Copyright (c) 2014-present, Jon Schlinkert.
 * Released under the MIT License.
 */

'use strict';

module.exports = function(num) {
  if (typeof num === 'number') {
    return num - num === 0;
  }
  if (typeof num === 'string' && num.trim() !== '') {
    return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
  }
  return false;
};

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
411 B lrw-r--r-- 2026-02-03 15:06:44
Edit Download
1.07 KB lrw-r--r-- 2026-02-03 15:06:46
Edit Download
1.56 KB lrw-r--r-- 2026-02-03 15:06:44
Edit Download
6.36 KB lrw-r--r-- 2026-02-03 15:06:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).