min

From The K Language Wiki
Revision as of 08:32, 14 July 2021 by Razetime (talk | contribs) (add min page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Min
x&y

Min, also known as and, takes the minimum of two arguments.

On boolean arguments, effectively works as an AND operator.

The min primitive is fully atomic.

 3 5 7&0 6 9
0 5 7

 "abc"&"01d"
48 49 99