requires

fun <S> LiteralNode<S>.requires(predicate: (S) -> Boolean)

Adds a requirement that must be true for this node to be visible and executable. Stacks with previous requirements.