Garden 🌻

List::first

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

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