Atom - T - Indices of Truthy Values

Characters: T

Tags: array , boolean

Arity: monadic

This atom is monadic, which means it takes one argument.


Return the indices of truthy values in a list.


Errors if given a single number; however, since characters are iterable (because they are single-character Python strings internally), they will just return [1].