Const
Asserts that the subject is an object (non-null object type).
expect({}, 'to be an object'); // passesexpect(null, 'to be an object'); // failsexpect('string', 'to be an object'); // fails Copy
expect({}, 'to be an object'); // passesexpect(null, 'to be an object'); // failsexpect('string', 'to be an object'); // fails
Asserts that the subject is an object (non-null object type).