UNPKG
@pnpm/ramda
Version:
latest (0.28.1)
0.28.1
A practical functional library for JavaScript programmers.
ramdajs.com
ramda/ramda
@pnpm/ramda
/
es
/
internal
/
_pipeP.js
8 lines
•
180 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
export
default
function
_pipeP
(
f, g
) {
return
function
(
) {
var
ctx =
this
;
return
f.
apply
(ctx,
arguments
).
then
(
function
(
x
) {
return
g.
call
(ctx, x); }); }; }