Max: Difference between revisions

From The K Language Wiki
Content added Content deleted
(add max page)
 
m (Lowercase title)
Line 1: Line 1:
{{lowercase title}}
{{primitive|x|y}}
{{primitive|x|y}}


'''Max''', also known as '''or''', takes the maximum of two arguments.
'''max''', also known as '''or''', takes the maximum of two arguments.


On boolean arguments, effectively works as an OR operator.
On boolean arguments, effectively works as an OR operator.

Revision as of 20:53, 8 July 2022


Max
x|y

max, also known as or, takes the maximum of two arguments.

On boolean arguments, effectively works as an OR operator.

The max primitive is fully atomic.

 3 5 7|0 6 9
3 6 9

 "abc"|"01d"
97 98 100