A tiny utility to pick numbers around a given number, based on a given range.
pickaround(number, range, [negative])
pickAround(8, 5) === [6, 7, 8, 9, 10];
pickAround(1, 5) === [-1, 0, 1, 2, 3];
pickAround(1, 5, false) === [0, 1, 2, 3];
A small utility to pick numbers around a given number, with a given range
A tiny utility to pick numbers around a given number, based on a given range.
pickaround(number, range, [negative])
pickAround(8, 5) === [6, 7, 8, 9, 10];
pickAround(1, 5) === [-1, 0, 1, 2, 3];
pickAround(1, 5, false) === [0, 1, 2, 3];
A small utility to pick numbers around a given number, with a given range
MIT License