Theia API Documentation v1.65.0
    Preparing search index...

    A convenience class for managing a "map of maps" of arbitrary depth

    Type Parameters

    • K
    • V
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Deletes the value with the given key from the map

      Parameters

      • key: readonly K[]

        the key to remove. It can have a length < the key length

      Returns boolean

      whether the key was present in the map

    • Iterates over all entries in the map. The ordering semantics are like iterating over a map of maps.

      Parameters

      • handler: (value: V, key: K[]) => void

        Handler for each entry

      Returns void

    • Checks whether the given key is present in the map

      Parameters

      • key: readonly K[]

        the key to test. It can have a length < the key length

      Returns boolean

      whether the key exists