Type Alias ValidationCheckerFunction<ValueT>

ValidationCheckerFunction<ValueT>: ((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