Function groupBits

  • create group bits from category and mask

    Parameters

    • category: string | number

      category bits

    • mask: string | number = category

      mask bits (default: category)

    Returns number