• Pure

    Returns the result of connecting all bits of both numbers using OR (in regards of binary numeral system). It returns a number with bits, being set in at least one of the numbers.

    3v1 => 3 (0011 v 0001 => 0011) 2v5 => 7 (0010 v 0101 => 0111)

    Parameters

    • x: number
    • y: number

    Returns number

    Patch

    1.31

Generated using TypeDoc