testBit

  1. bool testBit(T a, I bixs)
    pure nothrow @safe @nogc pragma(inline, true) @safe
    bool
    testBit
    (
    T
    I...
    )
    (
    in T a
    ,)
    if (
    isIntegral!T &&
    allSatisfy!(isIntegral, I)
    &&
    I.length >= 1
    )
  2. bool testBit(T a, I bixs)
  3. bool testBit(T* a, I bixs)

Return Value

Type: bool

true iff all bix:th bits of a are set.

Meta