The list data type with current element and rest list of elements.

Type Parameters

  • T

Hierarchy

  • List

Properties

Properties

current: (() => Option<T>)

Type declaration

    • (): Option<T>
    • Returns Option<T>

      A current heading item of the list.

rest: (() => List<T>)

Type declaration

    • (): List<T>
    • Returns List<T>

      Rest items of the list.

Generated using TypeDoc