Asserts for the .length property or function value to equal some value.
[1, 2, 3, 4].should.have.length(4); "abcdefg".should.have.length(0); // ^^ - Throws an Exception "expected 'abcdefg' to have length of 0"
See Implementation
Asserts for the .length property or function value to equal some value.