JanetDocsPlaygroundI'm feeling luckyGitHub sign in

band



    function

    (band & xs)

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


1 exampleSign in to add an example
Loading...
(band 7 11)  # => 3

#     0111  (7)
# and 1011  (11)
# --------
#     0011  (3)
cellularmitosisPlayground