Checks if length of value is not equal to the provided length.

const twoLetters = length(2);

twoLetters(""); // Error: length
twoLetters("ab"); // passes