RealDocs

UKismetGuidLibrary::NotEqual_GuidGuid

function Engine Blueprint Since unknown
#include "Kismet/KismetGuidLibrary.h"
Access: public Specifiers: staticBlueprintPureBlueprintThreadSafe

Description

Compares two GUIDs for inequality, backing the Blueprint '!=' operator node for the Guid type.

Caveats & Gotchas

  • Simply negates the result of EqualEqual_GuidGuid, so it inherits the same all-zero-GUIDs-are-equal behaviour rather than checking validity.
  • Displayed in the Blueprint graph as a compact '!=' operator node named 'Not Equal (Guid)'.

Signature

static bool NotEqual_GuidGuid( const FGuid& A, const FGuid& B );

Parameters

Name Type Description Default
A const FGuid& First GUID to compare.
B const FGuid& Second GUID to compare.

Return Type

bool

Example

Check two GUIDs differ C++
const FGuid A = UKismetGuidLibrary::NewGuid();
const FGuid B = UKismetGuidLibrary::NewGuid();
const bool bDifferent = UKismetGuidLibrary::NotEqual_GuidGuid(A, B); // true

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.