Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.
Type parameters
-
ItemT
The type of each item in this collection.
Hierarchy
- Dictionary
Indexable
Get an item using a specific key
.
Index
Methods
Methods
[Symbol.iterator]
-
Iterate all items in the collection using
for..of
.for (const [key, item] of collection) { console.log(`the collection contains ${item} at the index ${key}`); }
Returns IterableIterator<[string, ItemT]>
A homogenous collection of items indexable by string like a standard JavaScript object. Can also be iterated with a
for..of
loop.