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

NameTypeOptionalDescription
map any The Map to check.
key string The key to look for.

Outputs

NameTypeDescription
found boolean True if the key exists.
size number Current number of entries in the map.

Properties

KeyTypeDefaultDescription
key string "" Key (fallback)