first<T>(list: NonEmptyList<T>): T
Returns the first thing in a list. If the value is a string, then it will return the first character.
list: NonEmptyList<T>
first<T>(list: NonEmptyList<T>): T
Returns the first thing in a list. If the value is a string, then it will return the first character.
list: NonEmptyList<T>
import { first } from ".";