LongExtensions.HasFlag
Extension Method in LongExtensions
Declaration
public static bool HasFlag(this long mask, long 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. |