StringCriterias <S>
Type parameters
- S
Hierarchy
- StringCriterias
Index
Methods
camelCase
contains
Require field value to contain a provided string.
kebabCase
Require field value to be formatted in kebab case (foo-bar).
lengthOf
Require field value to be of a specific string length.
lowerCase
Require field value to be all lower case.
match
Require field value to match a defined regex pattern.
notEmpty
Require field value to not be an empty string.
pascalCase
Require field value to be formatted in pascal case (FooBar).
snakeCase
Require field value to be formatted in snake case (foo_bar).
upperCase
Require field value to be all upper case.
Require field value to be formatted in camel case (fooBar).