Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • A

Hierarchy

  • NonEmptyArray

Implements

Index

Constructors

constructor

  • Parameters

    • head: A
    • tail: Array<A>

    Returns NonEmptyArray

Properties

_A

_A: A

_URI

_URI: URI

head

head: A

tail

tail: Array<A>

Methods

ap

  • Type parameters

    • B

    Parameters

    Returns NonEmptyArray<B>

ap_

chain

concat

concatArray

  • Parameters

    • as: Array<A>

    Returns NonEmptyArray<A>

extend

extract

  • extract(): A
  • Returns A

inspect

  • inspect(): string
  • Returns string

map

  • Type parameters

    • B

    Parameters

    • f: function
        • (a: A): B
        • Parameters

          • a: A

          Returns B

    Returns NonEmptyArray<B>

reduce

  • reduce<B>(f: function, b: B): B
  • Type parameters

    • B

    Parameters

    • f: function
        • (b: B, a: A): B
        • Parameters

          • b: B
          • a: A

          Returns B

    • b: B

    Returns B

toArray

  • toArray(): Array<A>
  • Returns Array<A>

toString

  • toString(): string
  • Returns string

traverse

  • Type parameters

    Parameters

    Returns function

  • Type parameters

    Parameters

    Returns function

  • Type parameters

    • F

    Parameters

    Returns function

Generated using TypeDoc