Variant: {
    key?: string;
    metadata?: Record<string, unknown>;
    payload?: any;
    value?: string;
}

Type declaration

  • Optional key?: string

    The key of the variant.

  • Optional metadata?: Record<string, unknown>

    Flag, segment, and variant metadata produced as a result of evaluation for the user. Used for system purposes.

  • Optional payload?: any

    The attached payload, if any.

  • Optional value?: string

    The value of the variant.