Contents

init(value:)

Creates and returns a predicate that always evaluates to a specified Boolean value.

Declaration

init(value: Bool)

Parameters

  • value:

    The Boolean value to which the new predicate should evaluate.

Return Value

A predicate that always evaluates to value.

See Also

Creating a Predicate