add floatAdd

This commit is contained in:
mol
2024-06-06 10:04:28 +08:00
parent 0e1fe78cc5
commit 530e3ac1d9
655 changed files with 21752 additions and 0 deletions

33
node_modules/lodash-es/isInteger.js generated vendored Normal file
View File

@ -0,0 +1,33 @@
import toInteger from './toInteger.js';
/**
* Checks if `value` is an integer.
*
* **Note:** This method is based on
* [`Number.isInteger`](https://mdn.io/Number/isInteger).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an integer, else `false`.
* @example
*
* _.isInteger(3);
* // => true
*
* _.isInteger(Number.MIN_VALUE);
* // => false
*
* _.isInteger(Infinity);
* // => false
*
* _.isInteger('3');
* // => false
*/
function isInteger(value) {
return typeof value == 'number' && value == toInteger(value);
}
export default isInteger;