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