Skip to main content
Module

x/fun/mod.ts>array.NonEmptyArray

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
type alias array.NonEmptyArray
import { type array } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { NonEmptyArray } = array;

This type alias represents a ReadonlyArray conuaining at least one value at the head.

definition: readonly [A, ...A[]]