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