BooleanQuery
public final class BooleanQuery<T: Reflectable>: NilComparable, Matchable
A class that queries against Bool
properties in the T
class.
-
A class that queries against
Bool
properties in theT
class.Declaration
Swift
public let builder: PredicateBuilder<T>
-
A class that queries against
Bool
properties in theT
class.Declaration
Swift
public let property: String
-
Undocumented
Declaration
Swift
public final class BooleanQuery<T: Reflectable>: NilComparable, Matchable
-
Equivalent to creating this predicate:
class Kraken { var isAwesome: Bool } NSPredicate(format: "isAwesome == true")
Fetch the `Kraken` object if the value of its `isAwesome` property is true
Declaration
Swift
@discardableResult public func isTrue() -> FinalizedIncluder<T>
-
Equivalent to creating this predicate:
class Kraken { var isAwesome: Bool } NSPredicate(format: "isAwesome == false")
Fetch the `Kraken` object if the value of its `isAwesome` property is false
Declaration
Swift
@discardableResult public func isFalse() -> FinalizedIncluder<T>