@ceeblue/webrtc-client
    Preparing search index...

    Class FixMap<KeyType, ValueType>

    Some fix for JS MAP:

    • find(key) search an item in the map and returns undefined if not found
    • get(key) return the item if exists or otherwise create and returns it
    • set(key, value) returns the value of the item (rather the MAP)

    Type Parameters

    • KeyType
    • ValueType
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get size(): number

      Returns number

    Methods

    • Returns IterableIterator<[KeyType, ValueType]>

    • Returns void

    • Parameters

      Returns boolean

    • Parameters

      Returns void

    • Parameters

      Returns boolean