|
|
|
@ -9,7 +9,7 @@ If you just want to split an array into two parts (eg. based on a `true`/`false`
|
|
|
|
|
```js
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
|
const splitFilterN = require("./");
|
|
|
|
|
const splitFilterN = require("split-filter-n");
|
|
|
|
|
|
|
|
|
|
let words = [
|
|
|
|
|
"apple",
|
|
|
|
@ -82,14 +82,19 @@ __If it's an optional feature, why does it come before the required `predicate`?
|
|
|
|
|
|
|
|
|
|
## Changelog
|
|
|
|
|
|
|
|
|
|
# 1.1.0 (August 19, 2019)
|
|
|
|
|
### 1.1.1 (August 25, 2019)
|
|
|
|
|
|
|
|
|
|
- Fixed `require` in documentation example.
|
|
|
|
|
- Fixed changelog formatting.
|
|
|
|
|
|
|
|
|
|
### 1.1.0 (August 19, 2019)
|
|
|
|
|
|
|
|
|
|
- __New:__ Predicate function now also receives the index of the value as an argument, not just the value itself.
|
|
|
|
|
|
|
|
|
|
# 1.0.1 (August 19, 2019)
|
|
|
|
|
### 1.0.1 (August 19, 2019)
|
|
|
|
|
|
|
|
|
|
- Clarified `ensureCategories` documentation with additional example.
|
|
|
|
|
|
|
|
|
|
# 1.0.0 (August 19, 2019)
|
|
|
|
|
### 1.0.0 (August 19, 2019)
|
|
|
|
|
|
|
|
|
|
Initial release.
|
|
|
|
|