in

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)
In
x in y

The in primitive tells if x is present in y, giving 1 for present and 0 for not present.

The in primitive is left atomic.

 1 3 7 in 1 2 3 4 5
1 1 0