gameforge - v0.1.27
    Preparing search index...

    Class Item<T>

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    _data: T
    _next: Binder
    _prev: Binder

    Accessors

    Methods

    • Converts a value or an Item into an Item instance.

      If the given value is already an Item, it is returned unchanged. Otherwise, a new Item is created to wrap the value.

      Type Parameters

      • K

      Parameters

      • value: K | Item<K>

        Either a raw value of type K or an Item.

      Returns Item<K>

      An Item instance.