import { __ , getCurried } from './utils' ; export { __ } ; function description param fn param arityOverride returns export function curry < Fn extends Handler > ( fn ) ; export function curry < Fn extends Handler > ( fn , arityOverride ) ; export function curry < Fn extends Handler > ( fn , arityOverride ? ) { const arity = typeof arityOverride === 'number' ? arityOverride : fn . length ; const curried = getCurried ( fn , arity ) as Curried < Fn > ; curried . arity = arity ; curried . fn = fn ; return curried ; } curry . __ = __ ; function description param value returns export function isPlaceholder ( value ) { return value === __ ; } curry . isPlaceholder = isPlaceholder ; function description param curried returns export function uncurry < Fn extends Handler > ( curried ) { return curried . fn ; } curry . uncurry = uncurry ; export default curry ;