max

From The K Language Wiki
Revision as of 08:45, 14 July 2021 by Razetime (talk | contribs) (add max page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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