Return Value
A new Predicate<Input>
.
Predicate<Input>
.Framework
static func match(description: String? = nil, any type: Input.Type = Input.self, _ predicate: @escaping (Input) -> Bool) -> Predicate<Input>
A new Predicate<Input>
.
description
The description of the Predicate.
type
The type to match.
predicate
The block that will be used to verify that the entry statisfies the Predicate.