/** * @returns New array with all falsy values removed. The original array IS NOT modified. */ export declare function coalesce(array: ReadonlyArray): T[]; /** * @returns True if the provided object is an array and has at least one element. */ export declare function isNonEmptyArray(obj: T[] | undefined | null): obj is T[]; export declare function isNonEmptyArray(obj: readonly T[] | undefined | null): obj is readonly T[]; export declare function flatten(arr: T[][]): T[]; export interface Splice { readonly start: number; readonly deleteCount: number; readonly toInsert: T[]; } /** * @returns 'true' if the 'arg' is a 'ReadonlyArray'. */ export declare function isReadonlyArray(arg: unknown): arg is readonly unknown[]; /** * Returns the first mapped value of the array which is not undefined. */ export declare function mapFind(array: Iterable, mapFn: (value: T) => R | undefined): R | undefined; //# sourceMappingURL=arrays.d.ts.map