@lou.codes/constants
Version:
🔢 Shared constants and aliases to static methods, values and symbols.
16 lines (15 loc) • 371 B
TypeScript
export declare const isArray: (arg: any) => arg is any[],
from: {
<T>(arrayLike: ArrayLike<T>): T[];
<T, U>(
arrayLike: ArrayLike<T>,
mapfn: (v: T, k: number) => U,
thisArg?: any,
): U[];
<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
<T, U>(
iterable: Iterable<T> | ArrayLike<T>,
mapfn: (v: T, k: number) => U,
thisArg?: any,
): U[];
};