UNPKG
@interaction/eagle
Version:
latest (0.0.7)
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
JavaScript library
github.com/Iecy/eagle
Iecy/eagle
@interaction/eagle
/
src
/
internal
/
_curry1.js
13 lines
(11 loc)
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
_isPlaceholder =
/*#__PURE__*/
require
(
"./_isPlaceholder"
);
function
_curry1
(
fn
) {
return
function
f1
(
a
) {
if
(
arguments
.
length
===
0
||
_isPlaceholder
(a)) {
return
f1; }
else
{
return
fn.
apply
(
this
,
arguments
); } }; }
module
.
exports
= _curry1;