Adds a validator to a given adapter method. Throws an error if the method does not exist. This method is immutable.
validation predicate to add
new adapter with validator added
Generated using TypeDoc
Adds a validator to a given adapter method. Throws an error if the method does not exist. This method is immutable.