Skip to content

CheckValue Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

bool CheckValue(long value, long valueFlag, int maxFlag = null) ​

csharp
bool CheckValue(long value, long valueFlag, int maxFlag = null)

Checks if the specified flag is set in the bitmask based on a numeric value Verifies that valueFlag is a valid bitmask flag

Returns ​

Returns is the valueFlag is valid and the converted flag is set