Type Alias NonEmptyArray<T>

NonEmptyArray<T>: [T, ...T[]]

An array that is guaranteed to have at least one element.

Type Parameters

  • T