Initializerswift 6.0.3FoundationEssentials
init(from:)
- iOS
- 17+
- macOS
- 14+
- tvOS
- 17+
- watchOS
- 10+
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
s20FoundationEssentials20PredicateExpressionsO10ComparisonVAASeRzSERzSeR_SER_rlE4fromAEy_xq_Gs7Decoder_p_tKcfc
What are these?1ZVR1
where LHS:PredicateExpression, LHS:Encodable, LHS:Decodable, LHS.Output:Comparable, LHS.Output == RHS.Output, RHS:PredicateExpression, RHS:Encodable, RHS:Decodable
import FoundationEssentials
struct Comparison<LHS, RHS> where LHS : PredicateExpression, RHS : PredicateExpression, LHS.Output : Comparable, LHS.Output == RHS.Output
@frozen enum PredicateExpressions
protocol Decoder
A type that can decode values from a native format into in-memory representations.
protocol PredicateExpression<Output>
protocol Encodable
A type that can encode itself to an external representation.
protocol Decodable
A type that can decode itself from an external representation.
protocol Comparable : Equatable
A type that can be compared using the relational operators <
, <=
, >=
, and >
.
func encode(to encoder: any Encoder) throws