Contains

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

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

Tags

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback