Type Alias NonEmptyArray<T>

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

A readonly array containing at least one element

Type Parameters

  • T