Algo::AnyOf

Checks if any projection of the elements in the range is truthy.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Algo/AnyOf.h

Include

#include "Algo/AnyOf.h"

Syntax

namespace Algo
{
    template<typename RangeType, typename ProjectionType>
    bool Algo::AnyOf
    (
        const RangeType & Range,
        ProjectionType Projection
    )
}

Remarks

Checks if any projection of the elements in the range is truthy.

Returns

true if at least one projection is truthy, false otherwise.

Parameters

Parameter

Description

Range

The range to check.

Projection

The projection to apply to each element.

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