Interface: IConstraint<Input, Return>
Type Parameters
| Type Parameter | Default type |
|---|---|
Input | - |
Return extends Input | Input |
Methods
run()
run(
input:Input,parent?:any):Result<Return,BaseConstraintError<Input>>
Parameters
| Parameter | Type |
|---|---|
input | Input |
parent? | any |
Returns
Result<Return, BaseConstraintError<Input>>