An object interface that defines a method to test if a property is valid.

interface IUFPropertyValidator {
    isValidPropertyValue(aPropertyName, aData, aValue): boolean;
}

Methods

  • Checks if a value is valid for a certain property.

    Parameters

    • aPropertyName: string

      Name of property

    • aData: IUFModel

      Data that contains the property

    • aValue: any

      Value to check

    Returns boolean

    True if the value is valid; false otherwise.