resolveVariant
resolveVariant(
variant,data):FormNode[]
Which of a VariantNode’s branches (or its fallback) the respondent currently sees, given their
answers so far — first-match-wins, in exactly the order the server itself selects (the branches a
Variant arrives with are already in the server’s own precedence order). Returns the chosen
branch’s/fallback’s own node list — possibly empty, since a Variant may legitimately render
nothing.
Parameters
Section titled “Parameters”variant
Section titled “variant”Returns
Section titled “Returns”FormNode[]