Appearance
IsFlagSet Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
bool IsFlagSet(int value, int flag)
csharp
bool IsFlagSet(int value, int flag)Checks if a specific flag is set in the bitmask
Parameters
| Name | Description |
|---|---|
flag | The zero-based position of the flag to check |
value | The current bitmask value |
Returns
if the specified flag is set, otherwise