TIndirectArray::IsValidIndex

Tests if index is valid, i.e. greater than zero and less than number of elements in array.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/IndirectArray.h"

Syntax

bool IsValidIndex
(
    int32 Index
) const

Remarks

Tests if index is valid, i.e. greater than zero and less than number of elements in array.

Returns

True if index is valid. False otherwise.

Parameters

Parameter

Description

Index

Index to test.

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