Data / Map
data/map_contains
Map Contains
Checks whether a Map contains a given key.
Note: Does not retrieve the value — use Map Get for that. The size output is always available regardless of the key result.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
map |
any | The Map to check. | |
key |
string | ✓ | The key to look for. |
Outputs
| Name | Type | Description |
|---|---|---|
found |
boolean | True if the key exists. |
size |
number | Current number of entries in the map. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
key |
string | "" |
Key (fallback) |