caliban.PathValue
See thePathValue companion trait
object PathValue
Attributes
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
This function parses a string and returns a PathValue. If the string contains only digits, it returns a PathValue.Index
. Otherwise, it returns a PathValue.Key
.
This function parses a string and returns a PathValue. If the string contains only digits, it returns a PathValue.Index
. Otherwise, it returns a PathValue.Key
.
Value parameters
- value
-
the string to parse
Attributes
- Returns
-
a PathValue which is either an
Index
if the string is numeric, or aKey
otherwise
In this article