@edgible-team/sdk
    Preparing search index...

    Function evaluateCondition

    • Evaluate one condition against a map of EFFECTIVE parameter values (resolved values during a render; live form/prompt state in the clients, where each entry should already be provided ?? default). A referenced parameter with no effective value makes the condition FALSE — a hidden or omitted toggle disables everything riding on it, it never errors. Exported so the CLI's prompt flow and the webapp's parameter form share the renderer's semantics exactly (a form that showed a field the renderer then dropped — or the reverse — would be lying about the document it builds).

      Parameters

      • condition: {}
      • effectiveValues: Record<string, unknown>

      Returns boolean