GreaterThan

open class GreaterThan[N](n: N)(using `evidence$1`: Numeric[N]) extends FromPredicate[N]

checks if a numeric value is greater than N

checks if a numeric value is greater than N

class FromPredicate[N]
trait Validation[N]
class Object
trait Matchable
class Any
class Positive[N]

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
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