FField::HasAnyFlags

Used to safely check whether any of the passed in flags are set.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Field.h"

Syntax

bool HasAnyFlags
(
    EObjectFlags FlagsToCheck
) const

Remarks

Used to safely check whether any of the passed in flags are set.

Returns

true if any of the passed in flags are set, false otherwise (including no flags passed in).

Parameters

Parameter

Description

FlagsToCheck

Object flags to check for.