Interface: IConstraint<Input, Return>
Defined in: projects/shapeshift/src/constraints/base/IConstraint.ts:4
Type Parameters
| Type Parameter | Default type |
|---|---|
Input | - |
Return extends Input | Input |
Methods
run()
run(
input:Input,parent?:any):Result<Return,BaseConstraintError<Input>>
Defined in: projects/shapeshift/src/constraints/base/IConstraint.ts:5
Parameters
| Parameter | Type |
|---|---|
input | Input |
parent? | any |
Returns
Result<Return, BaseConstraintError<Input>>