Checks if length of value is in the range of min and max.

const passwordLength = rangeLength(8, 16);

passwordLength("hello"); // Error: rangeLength
passwordLength("aaaaaaaaaaaaaaaaaaaa"); // Error: rangeLength
passwordLength("Test123456"); // passes