@newdash/newdash
Version:
javascript/typescript utility library
13 lines (12 loc) • 407 B
TypeScript
/**
* Creates a function that wraps `func` to enable currying.
*
* @internal
* @private
* @param func The function to wrap.
* @param bitmask The bitmask flags. See `createWrap` for more details.
* @param arity The arity of `func`.
* @returns Returns the new wrapped function.
*/
export function createCurry(func: any, bitmask: any, arity: any): (...args: any[]) => any;
export default createCurry;