SwiftstructFoundation
struct Foundation.Predicate
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 14
- var
static var false: Foundation.Predicate<Pack{repeat A}> { get } - var
static var true: Foundation.Predicate<Pack{repeat A}> { get } - field
let expression: any Foundation.StandardPredicateExpression<Self.PredicateExpression.Output == Bool>+0x0 - field
let variable: (repeat Foundation.PredicateExpressions.Variable<A>) - func
encode(to: Encoder, configuration: Foundation.PredicateCodableConfiguration) throws -> () - func
evaluate(repeat A) throws -> Bool - init
init<A where A1: BidirectionalCollection, A1.Element == Foundation.Predicate<Pack{repeat A}>>(all: A1) -> Foundation.Predicate<Pack{repeat A}> - init
init<A where A1: BidirectionalCollection, A1.Element == Foundation.Predicate<Pack{repeat A}>>(any: A1) -> Foundation.Predicate<Pack{repeat A}> - init
init(from: Decoder, configuration: Foundation.PredicateCodableConfiguration) throws -> Foundation.Predicate<Pack{repeat A}> - init
init((repeat Foundation.PredicateExpressions.Variable<A>) -> any Foundation.StandardPredicateExpression<Self.PredicateExpression.Output == Bool>) -> Foundation.Predicate<Pack{repeat A}> - typealias
typealias DecodingConfiguration = Foundation.PredicateCodableConfiguration - typealias
typealias EncodingConfiguration = Foundation.PredicateCodableConfiguration - var
var debugDescription: String { get } - var
var description: String { get }
Header
struct Predicate<each A> { let expression: any Foundation.StandardPredicateExpression<Swift.Bool> let variable: (repeat Foundation.PredicateExpressions.Variable<(each A)>) init<A1>(all: A1) where A1: Swift.BidirectionalCollection, A1.Element == Foundation.Predicate<repeat (each A)> init<A1>(any: A1) where A1: Swift.BidirectionalCollection, A1.Element == Foundation.Predicate<repeat (each A)> init(from: any Swift.Decoder, configuration: Foundation.PredicateCodableConfiguration) throws init(_: (_: repeat Foundation.PredicateExpressions.Variable<(each A)>) -> any Foundation.StandardPredicateExpression<Swift.Bool>) var debugDescription: Swift.String { get } var description: Swift.String { get } func encode(to: any Swift.Encoder, configuration: Foundation.PredicateCodableConfiguration) throws func evaluate(_: repeat (each A)) throws -> Swift.Bool static var false: Foundation.Predicate<repeat (each A)> { get } static var true: Foundation.Predicate<repeat (each A)> { get } }