Class ValidationRule<IParams>

Type Parameters

  • IParams = {}

Hierarchy

Implements

Constructors

Properties

conditions: any[] = []
fromValue: any
params: IParams
toValue: any

Accessors

Methods

  • Adds an invalid message to the ValidationRule

    Parameters

    • message: string

    Returns void

  • Checks if the ValidationRule is valid

    Parameters

    • fromValue: any
    • toValue: any

    Returns boolean

Generated using TypeDoc