Checks if length of value is in the range of min and max.
const passwordLength = rangeLength(8, 16);passwordLength("hello"); // Error: rangeLengthpasswordLength("aaaaaaaaaaaaaaaaaaaa"); // Error: rangeLengthpasswordLength("Test123456"); // passes Copy
const passwordLength = rangeLength(8, 16);passwordLength("hello"); // Error: rangeLengthpasswordLength("aaaaaaaaaaaaaaaaaaaa"); // Error: rangeLengthpasswordLength("Test123456"); // passes
Minimal value.
Maximal value.
Checks if length of value is in the range of min and max.
Example