Ƭ Args: T extends function ? TArgs : never
Defined in index.ts:11
Ƭ Curried: function
Defined in index.ts:19
▸ ‹TArgs, TRest›(...args
: TArgs): TRest extends [] ? TReturn : Curried‹function›
Type parameters:
▪ TArgs: PartialArgs‹T›
▪ TRest: TailArray‹Args‹T›, TArgs["length"]›
Parameters:
Name | Type |
---|---|
...args |
TArgs |
Ƭ Curry: function
Defined in index.ts:28
▸ ‹TFunc›(fn
: TFunc, arity?
: number): Curried‹TFunc›
Type parameters:
▪ TFunc: function
Parameters:
Name | Type |
---|---|
fn |
TFunc |
arity? |
number |
Ƭ PartialArgs: T extends function ? Partial‹TArgs› : never
Defined in index.ts:15
Ƭ Tail:
Defined in index.ts:1
Ƭ TailArray: Tail‹function, S›
Defined in index.ts:8
▸ curry(fn
: TFunc, arity
: number): (Anonymous function)
Defined in index.ts:30
Parameters:
Name | Type | Default |
---|---|---|
fn |
TFunc | - |
arity |
number | fn.length |
Returns: (Anonymous function)