hasFlag method

bool hasFlag(
  1. SemanticsFlag flag
)

Whether flags contains the given flag.

Implementation

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