Skip to content

IsPowerOf2 Method ​

Definition ​

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

bool IsPowerOf2(long value) ​

csharp
bool IsPowerOf2(long value)

Returns true if the input is a numeric power of 2