requiredAny function

ContextValidator requiredAny (
  1. Iterable<String> keys
)

Assert that a key x is present, if any of the given keys are as well.

Implementation

ContextValidator requiredAny(Iterable<String> keys) =>
    _require((ctx) => keys.any(ctx.containsKey));