funny-partition

1.0.3 • Public • Published

partition

Simple modules for functional programming, done for fun.

Usage

import partition from 'funny-partition'

partition(x => x % 2, [1, 2, 3]) // [[1, 3], [2]]

License

The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.

Package Sidebar

Install

npm i funny-partition

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • goblindegook