FMapProperty::IsValidIndex

Helper function to check if the specified index of a key/value pair in the underlying set 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 * InMap,
    int32 Index
) const

Remarks

Helper function to check if the specified index of a key/value pair in the underlying set is valid. Used by the garbage collector where for performance reasons the provided map 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