Options
All
  • Public
  • Public/Protected
  • All
Menu

NonEmpty List

A data structure that acts like a list but guarantees that the list always has at least one item.

Index

Functions

Const fromArray

  • fromArray<T>(values: readonly T[]): Result<string, NonEmptyList<T>>

Const fromArrayMaybe

  • fromArrayMaybe<T>(values: readonly T[]): Maybe<NonEmptyList<T>>

Const fromValue

Legend

  • Property
  • Method

Generated using TypeDoc