UKismetArrayLibrary::Array_Contains

Returns true if the array contains the given item

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetArrayLibrary.h

Include

#include "Kismet/KismetArrayLibrary.h"

Syntax

static bool Array_Contains
(
    const TArray< int32 > & TargetArray,
    const int32 & ItemToFind
)

Remarks

Returns true if the array contains the given item

Returns

True if the item was found within the array

Parameters

Parameter

Description

TargetArray

The array to search for the item

ItemToFind

The item to look for

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