UNPKG

@bemedev/core

Version:

The core library of @bemedev

25 lines 1.98 kB
export declare const castings: import("../../functions").FnBasic<(<T>(...values: T[]) => T[]), { readonly low: <T extends unknown[]>(...values: T) => T; readonly is: <T>(value: unknown) => value is Array<T>; readonly indexes: <const T extends import("..").RuA>(...array: T) => import("../../common").UnionToTuple<import("..").IndexesOfArray<T>>; readonly _length: import("../../functions").FnBasic<(<T extends import("..").RuA>(...array: T) => T["length"]), { readonly has: <T extends number>(check: T) => (value: unknown) => value is import("..").TupleOf<unknown, T>; }>; readonly tuple: import("../../functions").FnBasic<(<const T extends import("..").RuA>(...args: T) => T), { readonly multiply: <const T, N extends number>(data: T, times: N) => import("..").TupleOf<T, N>; readonly is: <T>(value: unknown) => value is Array<T>; readonly permutations: import("../../functions").FnBasic<(<const T extends import("..").RuA>(...arr: T) => import("..").TupleOf<T[number], T["length"]>[]), { readonly strict: <const T extends import("..").RuA>(...arr: T) => import("..").Permutations<T>[]; }>; }>; readonly reduce: <T>(value: T | readonly [T] | [T]) => T; readonly toArray: <T>(value?: T) => never[] | import("..").ToArray<T>; readonly reverse: <T extends import("..").RuA>(...args: T) => import("..").ReverseArray<T>; readonly freeze: <const T extends any[]>(...args: T) => Readonly<T>; readonly extract: <const T extends any[], const Ex extends T[number][]>(array: T, ...extractors: Ex) => import("..").ExtractArray<T, Ex[number]>; readonly exclude: <const T extends any[], const Ex extends T[number][]>(array: T, ...excludes: Ex) => import("..").ExcludeArray<T, Ex[number]>; readonly forceCast: <T>(value: unknown) => T[]; readonly dynamic: <T extends import("..").AnyArray>(value: T) => T; readonly type: ArrayConstructor; }>; //# sourceMappingURL=all.d.ts.map