underscore/README.md
2021-12-30 11:34:01 -04:00

27 lines
686 B
Markdown

# Underscore
![License](https://img.shields.io/github/license/rjNemo/underscore?style=for-the-badge)
![Go version](https://img.shields.io/github/go-mod/go-version/rjNemo/underscore?style=for-the-badge)
`underscore` is a `Go` library that provides useful functional programming helpers without extending any built-in
objects.
It is mostly a port from the `underscore.js` library based on generics brought by `go1.18`.
## Functions
`underscore` provides 100s of functions that support your favorite functional helpers
### Collections
- `map`
- `filter`
- `reduce`
- `each`
- `some`
- `every`
- `find`
- `contains` (only numerics values at the moment)
- `max`
- `min`
- `partition`