ShortExtensions.HasAnyFlag
Extension Method in ShortExtensions
Declaration
public static bool HasAnyFlag(this short mask, short flags)
Description
Checks if any of the given flags are set in the bitmask. (mask & flags) != 0
Parameters
mask | The mask to check. |
flags | The flags to check for. |
Returns
bool | True if any of the flags are set in the mask. |