method
test.Matchers.toBeArray
Asserts that a value is an array.
expect([1]).toBeArray();
expect(new Array(1)).toBeArray();
expect({}).not.toBeArray();method
Asserts that a value is an array.
expect([1]).toBeArray();
expect(new Array(1)).toBeArray();
expect({}).not.toBeArray();