string
String-related constraints.
Attributes
- See also
-
collection
- Source
- string.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
string.type
Members list
Type members
Classlikes
Attributes
- Source
- string.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Blank.type
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
- Source
- string.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- string.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EndWith.type
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
- Source
- string.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- string.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Match.type
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
- Source
- string.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- string.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StartWith.type
Types
Tests if the input only contains alphanumeric characters.
Tests if the input only contains whitespaces.
Tests if all letters of the input are lower cased.
Tests if all letters of the input are upper cased.
Tests if the input is a valid semantic version as defined in semver site.
Tests if the input is a valid semantic version as defined in semver site.
Attributes
- Source
- string.scala
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
- Source
- string.scala
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.
- Source
- string.scala
Tests if the input is a valid UUID.