0.1.6 • Published 6 years ago

iterable-without v0.1.6

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

iterable-without

NOTE: iterable-without was renamed to @extra-iterable/without. NPM

Remove specified values from iterable, like _.without().

const without = require('iterable-without');
// without(<iterable>, <removal set>, [begin=0], [end], [target=[]], [at])

without(new Set(['bad', 'good']), new Set(['bad']));
// ['good']
without([5, 7, 8, 9], new Set([7]), 1);
// [8, 9]
without([5, 7, 8, 9], new Set([7]), 1, 3);
// [8]
without('<helo world>', new Set('word '), 1, 11, ['a', ' ']);
// ['a', ' ', 'h', 'e', 'l', 'l']
without('<helo world>', new Set('word '), 1, 11, ['a', ' '], 1);
// ['a', 'h', 'e', 'l', 'l']
0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago