JanetDocsPlaygroundI'm feeling luckyGitHub sign in

bor



    function

    (bor & xs)

    Returns the bit-wise or of all values in xs. Each x in xs must be 
    an integer.


1 exampleSign in to add an example
Loading...
(bor 1 2 4)  # => 7
(bor 7 12)  # => 15

#    0111   (7)
# or 1100  (12)
# -------
#    1111  (15)
cellularmitosisPlayground