Skip to content

IsPowerOfTwo Method ​

Definition ​

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

bool IsPowerOfTwo(long value) ​

csharp
bool IsPowerOfTwo(long value)

Returns true if the input is a numeric Power of 2