Garden 🌻

List::first()

Get the first item in this list, if the list is not empty.

Source Code
public method first<T>(this: List<T>): Option<T> {
  this.get(0)
}