Data / Map data/map_remove

Map Remove

Removes a key-value pair from a Map.

Note: No error is thrown if the key does not exist — removed will simply be null.

Inputs

NameTypeOptionalDescription
map any The Map to modify.
key string The key to remove.

Outputs

NameTypeDescription
map any The Map after removal (same reference).
removed any The value that was removed (null if the key was absent).

Properties

KeyTypeDefaultDescription
key string "" Key (fallback)