evaluateShow

Evaluate the rule to check if we should show the field.

val rule = Rule(
effect = Effect.Show,
condition = Condition(
scope = "#/properties/key",
schema = ConditionSchema(const = JsonPrimitive(""))
)
)
val hidden = rule.evaluateShow(mapOf("key" to ""))

Return

true if the condition of the rule is evaluated to true.

Parameters

data

field values of the form.