System.Generics.Collections.TList.TEmptyFunc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TEmptyFunc = reference to function (const L, R: T): Boolean;

C++

__interface TEmptyFunc  : public System::IInterface

Properties

Type Visibility Source Unit Parent
anonMethod
class
public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TList

Description

Determines whether a value is empty or not.

This function receives two values:

  • L is the value to evaluate.
  • R is an empty value.

Usually, if L and R contain the same data, this function returns True. However, you can implement this function differently, for example, so that it only returns True if L is nil.

See Also