mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.7.0.
This commit is contained in:
@@ -7,13 +7,16 @@ define(['./isInteger'], function(isInteger) {
|
||||
* Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
|
||||
* double precision number which isn't the result of a rounded unsafe integer.
|
||||
*
|
||||
* **Note:** This method is based on [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
|
||||
* **Note:** This method is based on
|
||||
* [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.
|
||||
* @returns {boolean} Returns `true` if `value` is a safe integer,
|
||||
* else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.isSafeInteger(3);
|
||||
|
||||
Reference in New Issue
Block a user