Contains

This node checks to see if a key exists in a provided Map.

Choose your operating system:

Windows

macOS

Linux

Map_ContainsNode.png

The Contains node, using a provided key, searches a Map for an associated item, returning true if the Map contains the item, confirming the key's existence.

Inputs

Pin Location

Name

Description

Map_ContainsNode_1.png

Target Map

The Map that you want to search.

Map_ContainsNode_2.png

Key

The key that you're using for the search.

Outputs

Pin Location

Name

Description

Map_ContainsNode_3.png

Boolean Return Value

If the node finds the item in the Map, the node returns true. Otherwise, if the node returns false, there is no item contained in the Map that uses the provided key.

Example Usage

Map_ContainsUsage.png

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss