UNPKG

@interaction/eagle

Version:
10 lines 251 B
import _isPlaceholder from "./_isPlaceholder.js"; export default function _curry1(fn) { return function f1(a) { if (arguments.length === 0 || _isPlaceholder(a)) { return f1; } else { return fn.apply(this, arguments); } }; }