AutoBE
    Preparing search index...

    Boolean literal for true/false values.

    Represents direct boolean values used in conditions, flags, and business rule specifications. Common in test scenarios for setting feature flags, validation states, and binary business decisions.

    E2E testing usage:

    • Feature flags (enabled: true/false)
    • Business state flags (active, verified, completed)
    • Validation parameters for API operations
    • Configuration options for test scenarios

    Note: Often used as arguments in IApiOperateStatement for boolean parameters, or in conditional expressions for business logic.

    interface IBooleanLiteral {
        type: "booleanLiteral";
        value: boolean;
    }
    Index

    Properties

    Properties

    type: "booleanLiteral"

    Type discriminator.

    value: boolean

    The boolean value (true or false).

    Should represent meaningful business states rather than arbitrary true/false values. Consider the business context when selecting the value based on the intended test scenario.