isArray.ts 102 Bytes
export const isArray = Array.isArray || (<T>(x: any): x is T[] => x && typeof x.length === 'number');