Contents

decode(_:)

Decodes a value of the given type.

Declaration

mutating func decode(_ type: Bool.Type) throws -> Bool

Parameters

  • type:

    The type of value to decode.

Return Value

A value of the requested type, if present for the given key and convertible to the requested type.

Discussion