Home > @websublime/schema > Rule

Rule interface

Rule signature for validation

Signature:

export interface Rule<V = any, P = any, C = any> 

Properties

PropertyTypeDescription
errorMessage?string(Optional)
params?any(Optional)
validationFnvalidationFnType<V, P, C>