Search Results for

    / fm / liveswitch / MutableUnit

    Class: MutableUnit<T>

    fm.liveswitch.MutableUnit

    A mutable 1-tuple.

    Type parameters

    Name
    T

    Table of contents

    Constructors

    • constructor

    Methods

    • getItem
    • getTypeString
    • setItem

    Constructors

    constructor

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

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

    Type parameters:

    Name
    T

    Parameters:

    Name Type Description
    item T The item to hold.

    Returns: MutableUnit<T>

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

    Methods

    getItem

    ▸ getItem(): T

    Gets the first item in the tuple.

    Returns: T

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


    getTypeString

    ▸ getTypeString(): string

    Returns: string

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


    setItem

    ▸ setItem(value: T): void

    Sets the first item in the tuple.

    Parameters:

    Name Type
    value T

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/MutableUnit.ts:51

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