Type Method

eq(_:)

Creates a Predicate<Input> that can match any elements equal to value

Declaration

static func eq(_ value: Input) -> Predicate<Input>
Available when Input conforms to Equatable.

Parameters

value

The element to compare to.