Bitmask.HasFlag
Method in Bitmask
Declaration
public bool HasFlag(int flag)
Description
Checks if the bitmask contains the flag. (mask & flag) == flag
Parameters
flag | The flag to check for. |
Returns
bool | True if the bitmask contains the flag, false otherwise. |