Home > @i2analyze/notebook-sdk > data > IKeyedReadOnlyCollection > get
data.IKeyedReadOnlyCollection.get() method
Retrieves the object associated with the specified key.
Signature:
get(key: K): V | undefined;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
key | K | The key of the object to return from the collection. |
Returns:
V | undefined
The corresponding object, or undefined
if the object is not in the collection.