Update readme to document inRange method
This commit is contained in:
parent
20bc7331ad
commit
be967d4d01
1 changed files with 5 additions and 0 deletions
|
|
@ -117,6 +117,11 @@ An object is plain if it's created by either `{}`, `new Object()`, or `Object.cr
|
|||
##### .iterable(value)
|
||||
##### .typedArray(value)
|
||||
|
||||
##### .inRange(value, range)
|
||||
|
||||
Check to see if the value is within a given range, for example `is.inRange(3, [0, 5])`.
|
||||
The range supplied can be an array of any size, though this will only check for
|
||||
the minimum and maximum values in it.
|
||||
|
||||
## FAQ
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue