UNPKG
@ka1do/kit
Version:
latest (0.0.3)
0.0.3
Kaido Kit
github.com/kaido-team/kaido-kit
kaido-team/kaido-kit
@ka1do/kit
/
helpers
/
node_modules
/
ramda
/
src
/
internal
/
_pipeP.js
10 lines
(9 loc)
•
191 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
function
_pipeP
(
f, g
) {
return
function
(
) {
var
ctx =
this
;
return
f.
apply
(ctx,
arguments
).
then
(
function
(
x
) {
return
g.
call
(ctx, x); }); }; }
module
.
exports
= _pipeP;