Files
agency/.pnpm-store/v3/files/74/f51fb5d1dbc1eca3e0d056871a72bf3c64716e981732cbeef651c51a2ee4a903c3c007490e8459b0d1bafc075eb49eb99913c87a9015c7af12283369ca2da2
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

19 lines
411 B
Plaintext

/*!
* 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;
};