TPredicate<T> Type

Represents a logical predicate.

Namespace: Spring
type
 TPredicate<T> = reference to function(const arg: T): Boolean;

Type Parameters

T

Parameters

arg

the value needs to be determined.

Return Value

Returns True if the value was accepted, otherwise, returns False.

Tip

This type redefined the SysUtils.TPredicate<T> type with a const parameter.

Reference

  • Spring.DesignPatterns|ISpecification<T>
  • Spring