Test whether a set of flags contains a given flag (or flag combination).
Declared in <net_permissions.h>
static
bool
HasFlag(
NetPermissionFlags flags,
NetPermissionFlags f);
true if every bit of f is set in flags.
| Name | Description |
|---|---|
| flags | The flags to inspect. |
| f | The flag or flag combination to test for. |