min

From The K Language Wiki
Revision as of 06:41, 9 July 2022 by Promovicz (talk | contribs) ("Better category ordering, add redirects to categories, fix pseudo-adverb categories")
(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