Checks if length of value is greater than or equal to the provided length.
const passwordMinLength = minLength(8);passwordMinLength("hello"); // Error: minLengthpasswordMinLength("Test123456"); // passes Copy
const passwordMinLength = minLength(8);passwordMinLength("hello"); // Error: minLengthpasswordMinLength("Test123456"); // passes
Length used in the comparison.
Checks if length of value is greater than or equal to the provided length.
Example