opencarl
    Preparing search index...

    Function selectBracketRules

    • Select rules for the current context bracket.

      Parameters

      • bracketRules: Record<string, string[]>

        All bracket rules from context file

      • bracketFlags: Record<string, boolean>

        Bracket enable/disable flags

      • rulesBracket: ContextBracket

        The bracket whose rules to use (already mapped for CRITICAL)

      Returns string[]

      Rules for the active bracket, or empty array if disabled/missing