main
HerrHase 2 years ago
parent 392998ce51
commit 54a471c009

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

Loading…
Cancel
Save