FText::IdenticalTo

Check to see if this [FText](API\Runtime\Core\Internationalization\FText) is identical to the other [FText](API\Runtime\Core\Internationalization\FText)

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Text.h

Include

#include "Internationalization/Text.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp

Syntax

bool IdenticalTo
(
    const FText & Other,
    const ETextIdenticalModeFlags CompareModeFlags
) const

Remarks

Check to see if this FText is identical to the other FText

@note This function defaults to only testing that the internal data has the same target (which makes it very fast!), rather than performing any deep or lexical analysis. The ETextIdenticalModeFlags can modify this default behavior. See the comments on those flag options for more information.

@note If you actually want to perform a full lexical comparison, then you need to use EqualTo instead.

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