Search function overview
- Search functions look for target values from the non-principal argument in the principal argument
-
Membership ∊ tests whether each target occurs in the principal
- Set functions Intersection ∩, Union ∪, and Without ~ are defined in terms of Membership. In version 18.0 they will also be implemented in terms of Membership.
- Index-Of ⍳ finds the smallest index at which each target occurs in the principal
- Interval Index ⍸ requires the principal argument to be sorted. It finds the largest index of an item in the principal which matches the target, or precedes it in the total array ordering (TAO)