2 ms·
Yes, and this sort of application (pun intended) is what the one-liner library is for. If you have a function isEqualTo(a, b), you can curry(isEqualTo, 5) and
by samatman 4y ago
Yes, and this sort of application (pun intended) is what the one-liner library is for.
If you have a function isEqualTo(a, b), you can curry(isEqualTo, 5) and filter with it.
`assign` could be used in the same way for assigning/overwriting the same field in an array of Objects, and so on.