TESSA Web API
    Preparing search index...

    Interface IValidationContainerObject<TValue, TRawValue>

    Object provides function for validation a value within the validation container.

    interface IValidationContainerObject<TValue, TRawValue = TValue> {
        id?: string;
        isAsync: boolean;
        validator: ValidationContainerValidator<TValue, TRawValue>;
    }

    Type Parameters

    • TValue

      Type of the resulting value to validate.

    • TRawValue = TValue

      Type of the raw value to validate. Defaults to TValue.

    Index

    Properties

    Properties

    id?: string

    Optional identifier for the validator. This identifier can be used for identifying or searching for the validator within the container.

    isAsync: boolean

    Indicates whether validation function runs asynchronously.

    Function to execute validation within the container.