OneOfCondition interface

Represents a condition that may be one of several types. Only the first defined field will be processed.

Signature:

export interface OneOfCondition 

Properties

Property Type Description
andCondition AndCondition Makes this condition an AND condition.
false Record<string, never> Makes this condition a constant false.
orCondition OrCondition Makes this condition an OR condition.
percent PercentCondition Makes this condition a percent condition.
true Record<string, never> Makes this condition a constant true.

OneOfCondition.andCondition

Makes this condition an AND condition.

Signature:

andCondition?: AndCondition;

OneOfCondition.false

Makes this condition a constant false.

Signature:

false?: Record<string, never>;

OneOfCondition.orCondition

Makes this condition an OR condition.

Signature:

orCondition?: OrCondition;

OneOfCondition.percent

Makes this condition a percent condition.

Signature:

percent?: PercentCondition;

OneOfCondition.true

Makes this condition a constant true.

Signature:

true?: Record<string, never>;