- Companion
- object
object BooleanSeqTop
object BooleanTop
object DoubleSeqTop
class DoubleTop
object DoubleTop
object IntSeqTop
object IntTop
object LongSeqTop
object LongTop
object StringTop
Value members
Abstract methods
Tries to extract a value of type A
from an unknown input value.
If the input value is generally incompatible with A
, returns None
.
Tries to extract a value of type A
from an unknown input value.
If the input value is generally incompatible with A
, returns None
.
The extraction should be direct and lossless. For example, a FromAny[Int]
should not try to parse a string, nor should it cast a Long
to an Int
.
On the other hand, a FromAny[Double]
should accept a Float
as input.