Atom - T - Indices of Truthy Values

Characters: T

Tags: array , boolean

Arity: monadic

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

Functionality

Return the indices of truthy values in a list.

Details

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