UIntExtensions.HasFlag
Extension Method in UIntExtensions
Declaration
public static bool HasFlag(this uint mask, uint flag)
Description
Checks if a given flag is set in the bitmask. (mask & flag) == flag
Parameters
mask | The mask to check. |
flag | The flag to check for. |
Returns
bool | True if the flag is set in the mask. |