Functions
The following functions are available globally.
-
Convenience infix
&&
operator that combines twoNSPredicate
instances into one ANDedNSCompoundPredicate
Declaration
Swift
@discardableResult public func && (lhs: NSPredicate, rhs: NSPredicate) -> NSPredicate
-
Convenience infix
||
operator that combines twoNSPredicate
instances into one ORedNSCompoundPredicate
Declaration
Swift
@discardableResult public func || (lhs: NSPredicate, rhs: NSPredicate) -> NSPredicate
-
Convenience infix
&&
operator that combines twoFinalizedIncluder<T>
instances into oneFinalizedIncluder<T>
that represents the ANDed compound of thefinalizedPredicate
properties in each instance.Essentially, you use this operator to join together two includers.
See moreDeclaration
Swift
@discardableResult public func && <T>(lhs: FinalizedIncluder<T>, rhs: FinalizedIncluder<T>) -> FinalizedIncluder<T>
-
Convenience infix
||
operator that combines twoFinalizedIncluder<T>
instances into oneFinalizedIncluder<T>
that represents the ORed compound of thefinalizedPredicate
properties in each instance.Essentially, you use this operator to join together two includers.
See moreDeclaration
Swift
@discardableResult public func || <T>(lhs: FinalizedIncluder<T>, rhs: FinalizedIncluder<T>) -> FinalizedIncluder<T>
-
Convenience prefix
!
operator that turnsFinalizedIncluder<T>
into its NOT version.Essentially, you use this operator to indicate the opposite of an includer.
See moreDeclaration
Swift
@discardableResult public prefix func ! <T>(rhs: FinalizedIncluder<T>) -> FinalizedIncluder<T>