Interface ValidateFunctionCondition

A condition using a validation function to determine its fulfillment.

interface ValidateFunctionCondition {
    scope: string;
    type?: string;
    validate: ((context) => boolean);
}

Hierarchy (view full)

Properties

Properties

scope: string

The scope that determines to which part this element should be bound to.

type?: string

The type of condition.

validate: ((context) => boolean)

Validates whether the condition is fulfilled.

Type declaration

Returns

true if the condition is fulfilled