Home > @websublime/schema > Rule
Rule interface
Rule signature for validation
Signature:
export interface Rule<V = any, P = any, C = any>
Properties
Property | Type | Description |
---|---|---|
errorMessage? | string | (Optional) |
params? | any | (Optional) |
validationFn | validationFnType<V, P, C> |