A compiled when-clause.

The function takes a single argument ctx, which is an application-specific key-value mapping. It returns a Boolean that indicates whether the when-condition is fulfilled.

Param: ctx

A context object that provides the namespace in which the when-clause is executed.

Returns

The result of the when-clause execution.

interface When {
    clause: string;
    (ctx): undefined | boolean;
}

Properties

Properties

clause: string

The source when-clause expression.

Generated using TypeDoc