Code coverage report for src/util/isArray.ts

Statements: 50% (1 / 2)      Branches: 25% (1 / 4)      Functions: 0% (0 / 1)      Lines: 100% (1 / 1)      Ignored: none     

All files » src/util/ » isArray.ts
1 21  
export const isArray = Array.isArray || (<T>(x: any): x is T[] => x && typeof x.length === 'number');