Package-level declarations
Types
Link copied to clipboard
A validator that forces a string to be of a certain length.
Link copied to clipboard
A validator that uses regular expressions to validate strings.
Link copied to clipboard
class StringValidator(minLength: Int? = null, maxLength: Int? = null, rangeValidator: RangeValidator<String>? = null, lexicalValidator: Validator<String>? = null, syntaxValidator: Validator<String>? = null, semanticsValidator: Validator<String>? = null) : Validator<String>
Validates a String value object based on a given range and additional validators.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Splits a string into a list of substrings using whitespace as the delimiter.
Link copied to clipboard
Truncates the string if its length exceeds the specified maximum length. An affix can be appended to the truncated string. By default, the truncation is performed from the end of the string with the affix appended as a suffix.