code: function getSymbolicString(bitmask, valueToName, zeroName) {
      const matchingFlagNames = [];
  
      for (const k in valueToName) {
        if (bitmask & valueToName[k]) {
          matchingFlagNames.push(k);
        }
      }
  
      // If no flags were matched, returns a special value.
      if (matchingFlagNames.length === 0) {
        return zeroName;
      }
  
      return matchingFlagNames.join(' | ');
    }
docs: Returns a string representing the flags composing the given bitmask.