object Converter
- Companion
- class
Value members
Concrete methods
Apply conversion using implicit Converter instance. This method catch a Converter
instance in the scope that conforms with types F
, A
and B
and then invoke in it the
method apply
passing a
.
Apply conversion using implicit Converter instance. This method catch a Converter
instance in the scope that conforms with types F
, A
and B
and then invoke in it the
method apply
passing a
.
- Type Params
- A
Contravariant input type
- B
Output object type
- Value Params
- c
implicit Converter instance
- Returns
Safe conversion of
A
intoB
, express asF[B]
Create an always pure converter that return the input instance.
Create an always pure converter that return the input instance.
- Type Params
- A
input and output type
- Returns
Identity Converter instance