Rename to inRange and reuse the Math module
This commit is contained in:
parent
ea63fb743a
commit
20bc7331ad
2 changed files with 3 additions and 3 deletions
4
test.js
4
test.js
|
|
@ -294,9 +294,9 @@ test('is.typedArray', t => {
|
|||
t.false(m.typedArray({}));
|
||||
});
|
||||
|
||||
test('is.withinRange', t => {
|
||||
test('is.inRange', t => {
|
||||
const x = 3;
|
||||
const arr = [0, 5];
|
||||
|
||||
t.true(m.withinRange(x, arr));
|
||||
t.true(m.inRange(x, arr));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue