Skip to content

MakeConstrained[T: Any val, F: Validator[T] val]

[Source]

Builder of Constrained instances.

primitive val MakeConstrained[T: Any val, F: Validator[T] val]

Constructors

create

[Source]

new val create()
: MakeConstrained[T, F] val^

Returns


Public Functions

apply

[Source]

fun box apply(
  value: T)
: (Constrained[T, F] val | ValidationFailure val)

Parameters

  • value: T

Returns


eq

[Source]

fun box eq(
  that: MakeConstrained[T, F] val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: MakeConstrained[T, F] val)
: Bool val

Parameters

Returns