Sha256: ebc1be82247971cf56255eb0a2e08b8a8cdcc5143efb374943e0a1861fddf251
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
// // Predicate.swift // QueryKit // // Created by Kyle Fuller on 19/06/2014. // // import Foundation public func && (left: NSPredicate, right: NSPredicate) -> NSPredicate { return NSCompoundPredicate(type: NSCompoundPredicateType.AndPredicateType, subpredicates: [left, right]) } public func || (left: NSPredicate, right: NSPredicate) -> NSPredicate { return NSCompoundPredicate(type: NSCompoundPredicateType.OrPredicateType, subpredicates: [left, right]) } prefix public func ! (left: NSPredicate) -> NSPredicate { return NSCompoundPredicate(type: NSCompoundPredicateType.NotPredicateType, subpredicates: [left]) }
Version data entries
2 entries across 2 versions & 1 rubygems