mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Bump to v4.11.2.
This commit is contained in:
@@ -2,7 +2,7 @@ import baseInRange from './_baseInRange';
|
||||
import toNumber from './toNumber';
|
||||
|
||||
/**
|
||||
* Checks if `n` is between `start` and up to but not including, `end`. If
|
||||
* Checks if `n` is between `start` and up to, but not including, `end`. If
|
||||
* `end` is not specified, it's set to `start` with `start` then set to `0`.
|
||||
* If `start` is greater than `end` the params are swapped to support
|
||||
* negative ranges.
|
||||
@@ -15,6 +15,7 @@ import toNumber from './toNumber';
|
||||
* @param {number} [start=0] The start of the range.
|
||||
* @param {number} end The end of the range.
|
||||
* @returns {boolean} Returns `true` if `number` is in the range, else `false`.
|
||||
* @see _.range, _.rangeRight
|
||||
* @example
|
||||
*
|
||||
* _.inRange(3, 2, 4);
|
||||
|
||||
Reference in New Issue
Block a user