• check if a set of bits are set in the values

    Parameters

    • value: number
    • mask: number | {
          value: number;
      }

    Returns boolean