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
/
loop
/
flipped
/
mapObjOrArrayFlipped.js
7 lines
(5 loc)
•
210 B
JavaScript
View Raw
1
2
3
4
5
6
7
const
mapObjOrArray
=
require
(
'../map/mapObjOrArray'
)
const
flip2
=
require
(
'../../fp/flip2'
) module.exports =
function
mapObjOrArrayFlipped
(
array
, iteratee
)
{
return
mapObjOrArray
(
array
,
flip2
(iteratee)) }