StringOptions
Members
- allowEmpty
bool allowEmpty;
Undocumented in source.
- label
string label;
Undocumented in source.
- max
int max;
Undocumented in source.
- messageMaximum
string messageMaximum;
Undocumented in source.
- messageMinimum
string messageMinimum;
Undocumented in source.
- min
int min;
Undocumented in source.
Validates that a string has the specified maximum and minimum constraints The test is passed if for a string's length L, min<=L<=max, i.e. L must be at least min, and at most max.
Check Unittests for examples at the bottom of the file.