DotPrompt.Compiler.CaseResolver (anantha_dot_prompt v1.1.0)

Copy Markdown

Resolves case blocks by matching variables against branches.

Summary

Functions

Resolves a case block based on the provided variable value.

Functions

resolve(var_value, branches)

Resolves a case block based on the provided variable value.