Skip to content

isSatisfied

isSatisfied(predicate, data): boolean

Dispatches a Variant branch’s when to the right evaluator regardless of which of the two predicate kinds it is — what resolveVariant calls, so a renderer never has to switch on kind itself. The client-side port of the server’s own predicate evaluation.

VariantPredicate

SubmissionData

boolean