hasAny static method

bool hasAny(
  1. Map map,
  2. Iterable<String> keys
)

Returns true when any of keys resolves in map.

Implementation

static bool hasAny(Map map, Iterable<String> keys) {
  for (final k in keys) {
    if (has(map, k)) return true;
  }
  return false;
}