API
Modules
Types and constants
Functions and macros
OneTwoMany.first_and_restOneTwoMany.first_second_restOneTwoMany.firstargOneTwoMany.getsecondOneTwoMany.secondarg
Documentation
OneTwoMany.OneTwoMany — ModuleOneTwoManyProvides provides utility functions for accessing the first, second and the rest of the elements of a collection.
OneTwoMany.first_and_rest — Functionfirst_and_rest(x)Returns a tuple that contains the first and the rest of the elements of x.
x may be an AbstractArray, Tuple, NamedTuple, Pair, AbstractString, or an iterable in general.
OneTwoMany.first_second_rest — Functionfirst_second_rest(x)Returns a tuple that contains the first, second, and the rest of the elements of x.
x may be an AbstractArray, Tuple, NamedTuple, Pair, AbstractString, or an iterable in general.
OneTwoMany.firstarg — Functionfirstarg(args...)Returns the first elements of args....
OneTwoMany.getsecond — Functiongetsecond(x)Return the second element of x.
x may be an AbstractArray, Tuple, NamedTuple, Pair, AbstractString, or an iterable in general. ```
OneTwoMany.secondarg — Functionsecondarg(args...)Returns the second elements of args....