Instance Methodpointfreeco.swift-case-paths 1.6.1CasePathsCore
extract(from:)
Attempts to extract a value from a root.
func extract(from root: Root) -> Value?
Parameters
- root
A root to extract from.
Returns
A value if it can be extracted from the given root, otherwise nil
.