Min: Difference between revisions

From The K Language Wiki
Content added Content deleted
m (Lowercase title)
("Remove lowercase again - it is in the template now")
Line 1: Line 1:
{{lowercase title}}
{{primitive|x&y}}
{{primitive|x&y}}



Revision as of 01:30, 9 July 2022

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