Asserts that the expected value is an instance of value
Symbol
Matchers.toBeInstanceOf
expect([]).toBeInstanceOf(Array);
expect(null).toBeInstanceOf(Array); // fail
Symbol
Asserts that the expected value is an instance of value
expect([]).toBeInstanceOf(Array);
expect(null).toBeInstanceOf(Array); // fail