testBit

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

Return Value

Type: bool

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

Meta