Documentation
    Preparing search index...
    • Combines the given values into a single one by OR-ing them. This is most useful when combining flags.

      Parameters

      • flags: number[]

        List of numbers (flags) to combine.

      Returns number

      The combined value.

      In this context, a flag is a 2^n value. Because of the limitations of the OR operator, the given flags must be less than 2^31.