@@ -109,15 +109,15 @@ type BinaryNext = ( error: Error | null, group: string | Symbol | number ) => vo
109
109
type Next = NullaryNext | UnaryNext | BinaryNext ;
110
110
111
111
/**
112
- * Checks whether an element in a collection passes a test .
112
+ * Returns the group to which a collection element belongs .
113
113
*
114
114
* @param value - collection value
115
115
* @param next - a callback to be invoked after processing a collection `value`
116
116
*/
117
117
type BinaryIndicator < T , V > = ( this : V , value : T , next : Next ) => void ;
118
118
119
119
/**
120
- * Checks whether an element in a collection passes a test .
120
+ * Returns the group to which a collection element belongs .
121
121
*
122
122
* @param value - collection value
123
123
* @param index - collection index
@@ -126,7 +126,7 @@ type BinaryIndicator<T, V> = ( this: V, value: T, next: Next ) => void;
126
126
type TernaryIndicator < T , V > = ( this : V , value : T , index : number , next : Next ) => void ;
127
127
128
128
/**
129
- * Checks whether an element in a collection passes a test .
129
+ * Returns the group to which a collection element belongs .
130
130
*
131
131
* @param value - collection value
132
132
* @param index - collection index
@@ -136,7 +136,7 @@ type TernaryIndicator<T, V> = ( this: V, value: T, index: number, next: Next ) =
136
136
type QuaternaryIndicator < T , V > = ( this : V , value : T , index : number , collection : Collection < T > , next : Next ) => void ;
137
137
138
138
/**
139
- * Checks whether an element in a collection passes a test .
139
+ * Returns the group to which a collection element belongs .
140
140
*
141
141
* @param value - collection value
142
142
* @param index - collection index
0 commit comments