Atom - œṗ - Partition Before Truthy Indices

Characters: œ ,

Tags: miscellaneous , array , boolean

Arity: dyadic

This atom is dyadic, which means it takes two arguments.


Partition y before the truthy indices in x.


Similar to Ḋk¥, but that may return an extra empty list that œṗ wouldn't.


This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):