0.1.1 • Published 8 years ago

array-includesit v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

array-includesit

NPM

Check if value is present in array, like Array.includes().

const includesIt = require('array-includesit');
// includesIt(<array>, <search value>, [begin=0], [end])

includesIt(['c', 'a', 'l', 'c'], 'c');
// true
includesIt(['c', 'a', 'l', 'c'], 'c', 1);
// true
includesIt(['c', 'a', 'l', 'c'], 'c', 1, 3);
// false
0.1.1

8 years ago

0.1.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago