• Decompose the given value into the corresponding list of flags.

    Parameters

    • Optional value: number

      The value to use.

    Returns number[]

    The flags corresponding to the "on" bits.

    Remarks

    In this context, a flag is a 2^n value.

Generated using TypeDoc