Optional
extension Optional: HADecodeTransformable where Wrapped: HADecodeTransformable
-
Transforms any transformable item into an Optional version
Throws
If the underlying decode throwsDeclaration
Swift
public static func decode(unknown value: Any) throws -> `Self`?
Parameters
value
The value to be converted
Return Value
An Optional-wrapped transformed value