2 lines
112 B
Plaintext
2 lines
112 B
Plaintext
export const isArray = (() => Array.isArray || (<T>(x: any): x is T[] => x && typeof x.length === 'number'))();
|