Type Alias ValidationCheckerFunction<ValueT>

ValidationCheckerFunction: (
    value: ValueT,
    args: ValidationCheckerArgs,
) => TypeOrPromisedType<ValidationResult>

A potentially-async function that checks the validity of a value.

Async functions should check wasReset to avoid doing unnecessary work.

Type Parameters

  • ValueT

Type declaration