Atom - J - Range of Length

Characters: J

Tags: array , number

Arity: monadic

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

Functionality

Given a list z, produce [1, 2, ..., len(z)].

Details

This atom can also be thought of as "get the indices to access this list". If the argument is a single value, this returns [1].

Synonyms

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):