Skip to content

Commit 16bb447

Browse files
committed
fix: update TypeScript function signature and documentation
1 parent 0bb460f commit 16bb447

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/array/base/cusome-by-right/docs/types

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/array/base/cusome-by-right/docs/types/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ interface CusomeByRight {
142142
* Cumulatively tests whether no array element in a provided array passes a test implemented by a predicate function, while iterating from right-to-left, and assigns the results to the provided output array.
143143
*
144144
* @param x - input array
145+
* @param n - number of elements
145146
* @param out - output array
146147
* @param stride - output array stride
147148
* @param offset - output array offset
@@ -159,7 +160,7 @@ interface CusomeByRight {
159160
* var arr = cunoneBy.cunoneByRight( x, y, 2, 0, isPositive );,
160161
* // returns [ true, null, false, null, false, null, false, null, false, null ]
161162
*/
162-
assign<T = unknown, U = unknown, V = unknown>( x: Collection<T> | AccessorArrayLike<T>, out: Collection<U> | AccessorArrayLike<U>, stride: number, offset: number, predicate: Predicate<T, V>, thisArg?: ThisParameterType<Predicate<T, V>> ): Collection<U | boolean> | AccessorArrayLike<U | boolean>;
163+
assign<T = unknown, U = unknown, V = unknown>( x: Collection<T> | AccessorArrayLike<T>, n: number, out: Collection<U> | AccessorArrayLike<U>, stride: number, offset: number, predicate: Predicate<T, V>, thisArg?: ThisParameterType<Predicate<T, V>> ): Collection<U | boolean> | AccessorArrayLike<U | boolean>;
163164
}
164165

165166
/**

0 commit comments

Comments
 (0)