Simple helper to check wether a value is in/out of a list
Parameters:
Name | Type | Description |
---|---|---|
value |
The value to check | |
list |
The list of values / value checkers | |
mode |
The mode of checking, either whitelist or blacklist. Default to whitelist. |