Type aliases
Accumulator
Accumulator<A, B>: (previousValue: B, value: A, index: number, array: A[]) => B
Type parameters
Type declaration
- (previousValue: B, value: A, index: number, array: A[]): B
Parameters
previousValue: B
value: A
index: number
array: A[]
Returns B
Map
Map<A, B>: (value: A, index: number, array: A[]) => B
Type parameters
Type declaration
- (value: A, index: number, array: A[]): B
Parameters
value: A
index: number
array: A[]
Returns B
Predicate
Predicate<A>: (value: A, index: number, array: A[]) => boolean
Type parameters
Type declaration
- (value: A, index: number, array: A[]): boolean
Parameters
value: A
index: number
array: A[]
Returns boolean
Sort
Sort<A>: (a: A, b: A) => number
Type parameters