string
String-related constraints.
Attributes
- See also
-
collection
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
string.type
Members list
Type members
Classlikes
Tests if the input ends with the given suffix.
Tests if the input ends with the given suffix.
Type parameters
- V
-
the string to compare with the end of the input.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Tests if the input matches the given regex.
Tests if the input matches the given regex.
Type parameters
- V
-
the pattern to match against the input.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Tests if the input starts with the given prefix.
Tests if the input starts with the given prefix.
Type parameters
- V
-
the string to compare with the start of the input.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Types
Tests if the input only contains alphanumeric characters.
Tests if the input only contains alphanumeric characters.
Attributes
Tests if the input only contains whitespaces.
Tests if the input only contains whitespaces.
Attributes
- See also
-
Whitespace
Tests if all letters of the input are lower cased.
Tests if all letters of the input are lower cased.
Attributes
Tests if all letters of the input are upper cased.
Tests if all letters of the input are upper cased.
Attributes
Tests if the input is a valid semantic version as defined in semver site.
Tests if the input does not have leading or trailing whitespaces.
Tests if the input does not have leading or trailing whitespaces.
Attributes
- See also
-
Whitespace
Tests if the input is a valid URL.
Tests if the input is a valid URL.
Attributes
- Note
-
it only checks if the input fits the URL pattern. Not if the given URL exists/is accessible.
Tests if the input is a valid UUID.
Tests if the input is a valid UUID.