hasFlag method

bool hasFlag (SemanticsFlag flag)

Whether flags contains the given flag.

Implementation

bool hasFlag(SemanticsFlag flag) => (flags & flag.index) != 0;