@gecut/utilities
Version:
The ultimate utility toolkit from Gecut Company, crafted with TypeScript for optimal speed and efficiency. Designed to boost productivity with a suite of fast and optimized tools.
8 lines (7 loc) • 417 B
TypeScript
import {Nullable} from '@gecut/types';
export declare const isArray: (value: unknown) => value is unknown[];
export declare const sanitize: <T extends unknown[]>(array: T) => T;
export declare const range: (count: number) => number[];
export declare const joinString: (separator?: string, ...values: Nullable<unknown>[]) => string;
export declare const choose: <T>(arr: T[]) => T;
//# sourceMappingURL=array.d.ts.map