Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Unit<T>

A 1-tuple.
Type the tuple holds.

Type parameters

  • T

Hierarchy

  • Unit

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Unit(item: T): Unit
  • Initializes a new instance of the fm.icelink.unit class.

    Parameters

    • item: T

      The item to hold.

    Returns Unit

Properties

Private _item

_item: T
internal

Methods

getItem

  • getItem(): T
  • Gets the item in the tuple.

    Returns T

getTypeString

  • getTypeString(): string
  • Returns string

Private setItem

  • setItem(value: T): void
  • internal

    Parameters

    • value: T

    Returns void