TArray::Contains

Checks if this array contains the element.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Array.h

Include

#include "Containers/Array.h"

Syntax

template<typename ComparisonType>
bool Contains
(
    const ComparisonType & Item
) const

Remarks

Checks if this array contains the element.

Returns

True if found. False otherwise.

See Also