Search Results for

    / fm / liveswitch / Unit

    Class: Unit<T>

    fm.liveswitch.Unit

    A 1-tuple.

    Type parameters

    Name
    T

    Table of contents

    Constructors

    • constructor

    Methods

    • getItem
    • getTypeString

    Constructors

    constructor

    + new Unit<T>(item: T): Unit<T>

    Initializes a new instance of the [[fm.liveswitch.unit]] class.

    Type parameters:

    Name
    T

    Parameters:

    Name Type Description
    item T The item to hold.

    Returns: Unit<T>

    Defined in: Generated/TypeScript/fm.liveswitch/Unit.ts:13

    Methods

    getItem

    ▸ getItem(): T

    Gets the item in the tuple.

    Returns: T

    Defined in: Generated/TypeScript/fm.liveswitch/Unit.ts:39


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/Unit.ts:9

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0