string: Decoder<string>

Decode any string value.

Example

decode(Decode.string, 'abc') === 'abc'
decode(Decode.string, 'my-string') === 'my-string'
decode(Decode.string, 10) // Throws

Generated using TypeDoc