Type aliases
ArrayCallback
Array
Callback<T, U, V, W>: Nullary<V, W> | Unary<T, V, W> | Binary<T, U, V, W> | Ternary<T, U, V, W> | ArrayQuaternary<T, U, V, W>
Type parameters
ArrayQuaternary
ArrayQuaternary<T, U, V, W>: (this: W, v1: T, v2: U, index: number, arrays: []) => V
Type parameters
Type declaration
-
- (this: W, v1: T, v2: U, index: number, arrays: []): V
-
Parameters
-
this: W
-
v1: T
-
v2: U
-
index: number
-
arrays: []
Returns
V
Binary
Binary<T, U, V, W>: (this: W, v1: T, v2: U) => V
Type parameters
Type declaration
-
- (this: W, v1: T, v2: U): V
Callback
Callback<T, U, V, W>
: Nullary<V, W> | Unary<T, V, W> | Binary<T, U, V, W> | Ternary<T, U, V, W> | Quaternary<T, U, V, W>
Type parameters
Nullary
Nullary<V, W>: (this: W) => V
Type parameters
Quaternary
Quaternary<T, U, V, W>: (this: W, v1: T, v2: U, index: number, arrays: []) => V
Type parameters
Type declaration
-
- (this: W, v1: T, v2: U, index: number, arrays: []): V
-
Parameters
-
this: W
-
v1: T
-
v2: U
-
index: number
-
arrays: []
Returns
V
Ternary
Ternary<T, U, V, W>: (this: W, v1: T, v2: U, index: number) => V
Type parameters
Type declaration
-
- (this: W, v1: T, v2: U, index: number): V
-
Parameters
-
this: W
-
v1: T
-
v2: U
-
index: number
Returns
V
Unary
Unary<T, V, W>: (this: W, v1: T) => V
Type parameters
Callback invoked for each pair of array elements.
element from the first input array
element from the second input array
element index
first input array
second input array
result