selects.with_or


selects.with_or(<a href="#selects.with_or-input_dict">input_dict</a>, <a href="#selects.with_or-no_match_error">no_match_error</a>)

Drop-in replacement for select() that supports ORed keys.

Parameters

Example:

```build
deps = selects.with_or({
    "//configs:one": [":dep1"],
    ("//configs:two", "//configs:three"): [":dep2or3"],
    "//configs:four": [":dep4"],
    "//conditions:default": [":default"]
})
```

Key labels may appear at most once anywhere in the input.
    </p>
  </td>
</tr>

selects.with_or_dict


selects.with_or_dict(<a href="#selects.with_or_dict-input_dict">input_dict</a>)

Variation of with_or that returns the dict of the select().

Unlike select(), the contents of the dict can be inspected by Starlark macros.

Parameters