Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetArrayLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetArrayLibrary.h |
| Include | #include "Kismet/KismetArrayLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetArrayLibrary.cpp |
static bool Array_IsValidIndex
&40;
const TArray< int32 > & TargetArray,
int32 IndexToTest
&41;
Remarks
Tests if IndexToTest is valid, i.e. greater than or equal to zero, and less than the number of elements in TargetArray. True if the Index is Valid, i.e. greater than or equal to zero, and less than the number of elements in TargetArray.
Parameters
| Name | Description |
|---|---|
| TargetArray | Array to use for the IsValidIndex test |
| IndexToTest | The Index, that we want to test for being valid |