JamieMason/Jasmine-Matchers

View on GitHub
src/toBeArray.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { is } from './lib/is';

export type ToBeArray = (expectationFailOutput?: any) => boolean;

declare global {
  namespace jasmine {
    interface Matchers<T> {
      toBeArray: ToBeArray;
    }
  }
}

export const toBeArray: ToBeArray = is.Array;