UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

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