import { t as Many } from "./Many-bCNxekD7.cjs"; import { t as Maybe } from "./Maybe-BVpZiDsE.cjs"; //#region src/functions/isArray/isArray.d.ts declare const isArray: IsArray; interface IsArray { /** * The same as `Array.isArray` but with a better type guard. * @param value The value to check. * @returns `true` if the value is an array, `false` otherwise. * @example * ```ts * isArray([1, 2, 3]) // true * isArray('foo') // false * ``` */ (value: Maybe[]>): value is NonNullable; /** * The same as `Array.isArray` but with a better type guard. * @param value The value to check. * @returns `true` if the value is an array, `false` otherwise. * @example * ```ts * isArray([1, 2, 3]) // true * isArray('foo') // false * ``` */ (value: Maybe[]>): value is NonNullable; /** * The same as `Array.isArray` but with a better type guard. * @param value The value to check. * @returns `true` if the value is an array, `false` otherwise. * @example * ```ts * isArray([1, 2, 3]) // true * isArray('foo') // false * ``` */ (value: Maybe>): value is NonNullable; /** * The same as `Array.isArray` but with a better type guard. * @param value The value to check. * @returns `true` if the value is an array, `false` otherwise. * @example * ```ts * isArray([1, 2, 3]) // true * isArray('foo') // false * ``` */ (value: unknown): value is readonly T[]; } type ArrayElement = T extends ReadonlyArray ? U : never; //#endregion export { isArray as t }; //# sourceMappingURL=isArray-OI9nLS_c.d.cts.map