has method

bool has(
  1. MENUINFO_MASK other
)

Whether this instance has all the bit fields specified in other.

Implementation

bool has(MENUINFO_MASK other) => _ & other._ == other._;