Type Alias ValidatorFunction<This, Value>

ValidatorFunction<This, Value>: ((value: Value, targetInstance: This) => boolean)

ValidatorFunction. is a function that takes the current value and instance as input and returns a boolean if an arbitrary condition pass.

Type Parameters

  • This
  • Value