Skip to content

ExpectValidator

[Source]

Validates that an expect value is at least 1.

An expect of 0 is meaningless — use None to indicate "deliver all available data." Used by MakeExpect to construct Expect values.

primitive val ExpectValidator is
  Validator[USize val] val

Implements


Constructors

create

[Source]

new val create()
: ExpectValidator val^

Returns


Public Functions

apply

[Source]

fun box apply(
  value: USize val)
: (ValidationSuccess val | ValidationFailure val)

Parameters

Returns


eq

[Source]

fun box eq(
  that: ExpectValidator val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: ExpectValidator val)
: Bool val

Parameters

Returns