SwiftstructFoundation
OptionalFlatMap
struct Foundation.PredicateExpressions.OptionalFlatMap
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundation.ConvertibleExpression
- protocolFoundation.PredicateExpression
- protocolSwift.CustomStringConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 10
- field
let transform: C - field
let variable: Foundation.PredicateExpressions.Variable<B> - field
let wrapped: A - func
Foundation.PredicateExpressions.OptionalFlatMap< where A: Decodable, A: Encodable, C: Decodable, C: Encodable>.encode(to: Encoder) throws -> () - func
evaluate(Foundation.PredicateBindings) throws -> D? - init
init< where D == C.Output>(A, (Foundation.PredicateExpressions.Variable<B>) -> C) -> Foundation.PredicateExpressions.OptionalFlatMap<A, B, C, D> - init
init< where C.Output == D?>(A, (Foundation.PredicateExpressions.Variable<B>) -> C) -> Foundation.PredicateExpressions.OptionalFlatMap<A, B, C, D> - init
Foundation.PredicateExpressions.OptionalFlatMap< where A: Decodable, A: Encodable, C: Decodable, C: Encodable>.init(from: Decoder) throws -> Foundation.PredicateExpressions.OptionalFlatMap<A, B, C, D> - typealias
typealias Output = Swift.Optional<D> - var
var description: String { get }
Header
struct Foundation.PredicateExpressions.OptionalFlatMap<A, B, C, D> where A: Foundation.PredicateExpression, C: Foundation.PredicateExpression, A.Output == B? { let wrapped: A let transform: C let variable: Foundation.PredicateExpressions.Variable<B> init(_: A, _: (_: Foundation.PredicateExpressions.Variable<B>) -> C) where D == C.Output init(_: A, _: (_: Foundation.PredicateExpressions.Variable<B>) -> C) where C.Output == D? var description: Swift.String { get } func evaluate(_: Foundation.PredicateBindings) throws -> D? }