Atom - ẇ
- Sublist Occurs
Characters: ẇ
Arity: dyadic
This atom is dyadic, which means it takes two arguments.
Functionality
Return 1
if x
occurs as a contiguous sublist in y
and 0
otherwise.
Details
This takes the element on the left and the list on the right. If you need the inverse, instead of ẇ@
, consider using w
(Index Of Sublist). It does not return a boolean value, but you can use it if you only need to check truthiness/falsiness.