FSetProperty::IsValidIndex

Helper function to check if the specified index of an element is valid.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

bool IsValidIndex
(
    void * InSet,
    int32 Index
) const

Remarks

Helper function to check if the specified index of an element is valid. Used by the garbage collector where for performance reasons the provided set pointer is not guarded

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