UNPKG
foop
Version:
beta (5.0.0)
latest (5.0.0)
5.0.0
interfaces that describe their intentions.
github.com/fluents/chain-able
fluents/chain-able
foop
/
src
/
deps
/
fp
/
callDestructure.js
12 lines
(11 loc)
•
256 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
// // autocurry both? pipe?
// function callDestructure(left, right) {}
//
// // --- example ---
//
// // og
// const mapped = mapNotEmpty(obj)
// return ObjectKeys(obj)
//
// // wham
// const [mapped, keys] = callDestructure(mapNotEmpty, ObjectKeys)(obj)