operator [] method

bool operator [](
  1. int index
)

Convenience operator for checking a bit.

Implementation

bool operator [](int index) => test(index);