# virtual_map · Rell standard library · Chromia Docs (concept)

> hidden type virtual_ map<K, V0, V>: iterable <(K, V)> Since 0.9.0 Methods contains Check if this map contains the given key. empty Check if this map is emp

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/

TYPE

# virtual\_map

```signature
hidden type virtual_map<K, V0, V>: iterable<(K, V)>
```

Since 0.9.0

## Methods

[contains](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/contains/)
:   Check if this map contains the given key.

[empty](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/empty/)
:   Check if this map is empty.

[get](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/get/)
:   Get the value associated with the given key in this map.

[get\_or\_default](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/get_or_default/)
:   Get the value associated with the given key in this map.

[get\_or\_null](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/get_or_null/)
:   Get the value associated with the given key in this map.

[join\_to\_text](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/join_to_text/)
:   Generate a textual representation of this iterable.

[keys](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/keys/)

[len](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/len/)
:   Get the size (number of entries) of this map.

[size](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/size/)
:   Get the size (number of entries) of this map.

[str](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/str/)
:   Returns a textual representation of this map.

[to\_full](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/to_full/)

[to\_text](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/to_text/)
:   Returns a textual representation of this map.

[values](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/virtual_map/values/)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/virtual_map/index.html)Generated API reference, mirrored from the live docs
