parse()

Parses the receiver into a Swift type conforming to Parsable and throws if the conversion failed.

Declaration

func parse <Value>() throws -> Value where Value: Parsable

Returns

A value of a type conforming to Parsable.