refined4s-core
refined4s-core
refined4s
Coercible
Coercible
InlinedRefined
Newtype
NewtypeBase
Refined
RefinedBase
RefinedCtor
RefinedCtor
syntax
syntax
refined4s.internal
numericTools
typeTools
refined4s.types
all
all
network
DynamicPortNumber
NonSystemPortNumber
PortNumber
SystemPortNumber
Uri
UserPortNumber
network
numeric
InlinedNumeric
numericToOrdered
NegBigDecimal
NegBigInt
NegByte
NegDouble
NegFloat
NegInt
NegLong
NegShort
NonNegBigDecimal
NonNegBigInt
NonNegByte
NonNegDouble
NonNegFloat
NonNegInt
NonNegLong
NonNegShort
NonPosBigDecimal
NonPosBigInt
NonPosByte
NonPosDouble
NonPosFloat
NonPosInt
NonPosLong
NonPosShort
Numeric
numericToOrdered
PosBigDecimal
PosBigInt
PosByte
PosDouble
PosFloat
PosInt
PosLong
PosShort
numeric
strings
NonEmptyString
strings
refined4s-core
/
refined4s
/
syntax
syntax
trait
syntax
Since:
2023-12-02
Companion:
object
Graph
Supertypes
Known subtypes
class
Object
trait
Matchable
class
Any
object
syntax
.type
Extensions
Extensions
Extensions
extension
[
A
](a:
A
)
inline
def
coerce
[
B
](
using
coercible:
Coercible
[
A
,
B
]):
B
inline
def
refinedTo
[
T
](
using
refinedCtor:
RefinedCtor
[
T
,
A
]):
Either
[
String
,
T
]
extension
[
A
,
T
](a:
A
)
inline
def
refinedNewtype
[
N
](
using
coercible:
Coercible
[
T
,
N
],
refinedCtor:
RefinedCtor
[
T
,
A
]):
Either
[
String
,
N
]
extension
[
N
,
T
,
A
](nt:
N
)
def
toValue
(
using
coercible1:
Coercible
[
N
,
T
],
coercible2:
Coercible
[
T
,
A
]):
A