mazboot-types
mazboot-types
mazboot
mazboot.net
Ipv4
Ipv6
mazboot.strings
mazboot.validations.numeric
EqualsOne
EqualsZero
Even
GreaterThan
GreaterThanOne
GreaterThanZero
LessThan
NumericTypes
Odd
Positive
mazboot.validations.strings
MatchesRegex
StartsWith
mazboot-types
/
mazboot.validations.numeric
/
LessThan
LessThan
open
class
LessThan
[N](n:
N
)(using evidence$2:
Numeric
[
N
]) extends
FromPredicate
[
N
]
checks if a numeric value is less than N
Graph
Supertypes
class
FromPredicate
[
N
]
class
FromPredicate0
[
N
]
trait
Validation
[
N
]
class
Object
trait
Matchable
class
Any
Type members
Value members
Givens
Type members
Inherited classlikes
final case
class
Error
(raw:
Raw
)
Inherited from
Validation
Inherited types
override
opaque type
Valid
Inherited from
FromPredicate0
Value members
Inherited methods
def
and
[Valid2 <:
N
](that:
Aux
[
N
, Valid2]):
Aux
[
N
,
Valid
& Valid2]
Inherited from
FromPredicate
protected
def
formatErrorMessage
(raw:
N
):
String
Inherited from
FromPredicate0
def
negate
:
FromPredicate
[
N
]
Inherited from
FromPredicate
def
or
[Valid2 <:
N
](that:
Aux
[
N
, Valid2]):
Aux
[
N
,
Valid
| Valid2]
Inherited from
FromPredicate
final
def
validate
(raw:
N
):
Error
|
Valid
Inherited from
Validation
final
def
validateEither
(raw:
N
):
Either
[
Error
,
Valid
]
Inherited from
Validation
final
def
validateWith
[A](raw:
N
, handleSuccess:
Valid
=> A, handleError:
Error
=> A): A
Inherited from
FromPredicate0
Inherited fields
val
predicate
:
N
=>
Boolean
Inherited from
FromPredicate0
val
predicateName
:
String
Inherited from
FromPredicate0
Givens
Inherited givens
given
given_ValidationOf_Valid
:
ValidationOf
[
Valid
]
Inherited from
Validation