Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ErrorMessageType

ErrorMessageType: (vc: ValidationContext, o: any) => string

Type declaration

    • The api signature for the error message function.

      Parameters

      Returns string

      The string message that the function produced.

ValidationArrayFunctionType

ValidationArrayFunctionType: (vc: ValidationContext, values: any[]) => Number[]

Type declaration

    • The api signature for the validation function that validates multiple values.

      Parameters

      • vc: ValidationContext

        The validation context

      • values: any[]

        The array of values being validated.

      Returns Number[]

      The array of indices that corresponding to the values that are invalid.

ValidationValueFunctionType

ValidationValueFunctionType: (vc: ValidationContext, object: any) => boolean

Type declaration

    • The api signature for the validation function that validates a single value.

      Parameters

      Returns boolean

      The array of indices that corresponding to the values that are invalid.

Generated using TypeDoc