Instance Methodswift 6.0.3FoundationEssentials
encode(to:)
- iOS
- 17+
- macOS
- 14+
- tvOS
- 17+
- watchOS
- 10+
func encode(to encoder: any Encoder) throws
func encode(to encoder: any Encoder) throws
s20FoundationEssentials20PredicateExpressionsO7KeyPathVAASeRzSERzrlE6encode2toys7Encoder_p_tKF
What are these?28LIY
where Root:PredicateExpression, Root:Encodable, Root:Decodable
import FoundationEssentials
struct KeyPath<Root, Output> where Root : PredicateExpression
@frozen enum PredicateExpressions
protocol Encoder
A type that can encode values into a native format for external representation.
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.
init(from decoder: any Decoder) throws