Skip to main content

# ConditionOperator

    type ConditionOperator =
      | {
      eq: unknown;
    }
      | {
      in: unknown[];
    }
      | {
      includes: unknown;
    }
      | {
      gt: number;
    }
      | {
      lt: number;
    }
      | {
      regex: string;
    };

Condition operators for style criteria matching

## Union Members​

### Type Literal​

    {
      eq: unknown;
    }

#### eq​

    eq: unknown;

Equals operator - value must equal this value

### Type Literal​

    {
      in: unknown[];
    }

#### in​

    in: unknown[];

In operator - value must be in this array

### Type Literal​

    {
      includes: unknown;
    }

#### includes​

    includes: unknown;

Includes operator - array value must include this item

### Type Literal​

    {
      gt: number;
    }

#### gt​

    gt: number;

Greater than operator - numeric value must be greater than this

### Type Literal​

    {
      lt: number;
    }

#### lt​

    lt: number;

Less than operator - numeric value must be less than this

### Type Literal​

    {
      regex: string;
    }

#### regex​

    regex: string;

Regex operator - value must match this regular expression