requiredWithout function

ContextValidator requiredWithout (
  1. Iterable<String> keys
)

Assert that a key x is present, if at least one of the given keys is not.

Implementation

ContextValidator requiredWithout(Iterable<String> keys) =>
    _require((ctx) => !keys.every(ctx.containsKey));