@extra-array/fill-update
Version:
Fills with given value.
13 lines (12 loc) • 319 B
TypeScript
declare module "@extra-array/fill-update" {
/**
* Fills with given value.
* @param x an array (updated)
* @param v value
* @param i start index (0)
* @param I end index (X)
* @returns x
*/
declare function fill$<T>(x: T[], v: T, i?: number, I?: number): T[];
export = fill$;
//# sourceMappingURL=fill$.d.ts.map}