var description: String
Description of the Predicate.
Input
.Framework
class Predicate<Input>
var description: String
static func any(Input.Type) -> Predicate<Input>
Predicate<Input>
able to match any value of type Input
.static func eq(Input) -> Predicate<Input>
Predicate<Input>
that can match any elements equal to value
Input
conforms to Equatable
.static func equals(to: Input) -> Predicate<Input>
Predicate<Input>
that can match any elements equal to value
Input
conforms to Equatable
.static func ge(Input) -> Predicate<Input>
Predicate<Input>
that can match any elements greater than or equal to value
Input
conforms to Comparable
.static func greater(than: Input) -> Predicate<Input>
Predicate<Input>
that can match any elements greater than value
Input
conforms to Comparable
.static func greaterThanOrEquals (to: Input) -> Predicate<Input>
Predicate<Input>
that can match any elements greater than or equal to value
Input
conforms to Comparable
.static func gt(Input) -> Predicate<Input>
Predicate<Input>
that can match any elements greater than value
Input
conforms to Comparable
.static func id(Input) -> Predicate<Input>
Predicate<Input>
that can match any elements identical to value
static func identical(to: Input) -> Predicate<Input>
Predicate<Input>
that can match any elements identical to value
static func isFalse () -> Predicate<Bool>
Predicate<Bool>
that can match any Bool
equal to false
Input
is Bool
.static func isNil <Input>() -> Predicate<Input?>
Predicate<Input?>
able to match nil
.static func isTrue () -> Predicate<Bool>
Predicate<Bool>
that can match any Bool
equal to true
Input
is Bool
.static func le(Input) -> Predicate<Input>
Predicate<Input>
that can match any elements less than or equal to value
Input
conforms to Comparable
.static func less(than: Input) -> Predicate<Input>
Predicate<Input>
that can match any elements less than value
Input
conforms to Comparable
.static func lessThanOrEquals (to: Input) -> Predicate<Input>
Predicate<Input>
that can match any elements less than or equal to value
Input
conforms to Comparable
.static func lt(Input) -> Predicate<Input>
Predicate<Input>
that can match any elements less than value
Input
conforms to Comparable
.static func match(description: String?, any: Input.Type, (Input) -> Bool) -> Predicate<Input>
Predicate<Input>
.static func not(Predicate<Input>) -> Predicate<Input>
Predicate<Input>
able to match any value of type Input
not matched by an other predicate.AnyPredicate
Swift.CustomStringConvertible