|
|
|
@ -26,6 +26,8 @@ const filter = new Filter(options)
|
|
|
|
|
const isValid = filter.validate(result)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
|
|-------------|-----------|-------------|
|
|
|
|
|
| _eq | {Mixed} | is equal |
|
|
|
|
@ -40,6 +42,8 @@ const isValid = filter.validate(result)
|
|
|
|
|
|
|
|
|
|
## Reduce
|
|
|
|
|
|
|
|
|
|
Skip or Limit Elements from a an Array.
|
|
|
|
|
|
|
|
|
|
Basic Usage:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
@ -49,6 +53,13 @@ results = reduce({
|
|
|
|
|
}, results)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description |
|
|
|
|
|
|-------------|-----------|-------------|
|
|
|
|
|
| limit | {Number} | limit elements |
|
|
|
|
|
| offset | {Number} | skip elements |
|
|
|
|
|
|
|
|
|
|
## OrderBy
|
|
|
|
|
|
|
|
|
|
Basic Usage:
|
|
|
|
|