System.SysUtils.TPredicate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TPredicate<T> = reference to function (Arg1: T): Boolean;

C++

template<typename T> __interface TPredicate__1  : public System::IInterface

Properties

Type Visibility Source Unit Parent
anonMethod
class
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

TPredicate declares a reference to a generic function that behaves as a logical predicate.

Use the TPredicate type as a reference to a generic function that behaves as a logical predicate. TPredicate accepts a generic type and returns a Boolean value.

See Also