JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

bor

core-api


    function

    (bor & ns)

    Returns bit-wise or of all values in `ns`; integers only.


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