hasFlag method

bool hasFlag(
  1. SemanticsFlag flag
)

Whether this node currently has a given SemanticsFlag.

Implementation

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