Options
All
  • Public
  • Public/Protected
  • All
Menu

Module NonEmpty<E>

A non-empty array, consisting of at least one element.

Type parameters

  • E

    the array element type

Index

Functions

Functions

isNonEmpty

  • isNonEmpty<T>(arr: T[]): boolean
  • Returns true if the input array arr is not empty.

    Type parameters

    • T

    Parameters

    • arr: T[]

    Returns boolean

Generated using TypeDoc