CustomCondition

constructor(tags: ImmutableSet<String> = persistentSetOf(), onEval: (Element<*>, Form) -> Unit)

Parameters

tags

The tags that this condition is associated with.

onEval

The function that is invoked when the condition is evaluated.


constructor(vararg tags: String, onEval: (Element<*>, Form) -> Unit)

Constructs a custom condition with the specified tags and evaluation function.

Parameters

tags

The tags that this condition is associated with.

onEval

The function that is invoked when the condition is evaluated.