_first
Grabs just the first thing from the received context. --
Function
The same Type -> _first -> The same Type
- Receives -- The same Type
- A List of anything
- Produces
- The first element in the received list, or None if it was empty.
Often you have a List, and you just want the first item in the List. (Especially when you
expect the list to only have one element in it.) Use _first to turn that List into an
Optional instead.