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