The returned value
A decoder that always succeeds with the given value when executed
const decoder = Decode.succeed(42);
decode(decoder, 'string') === 42
decode(decoder, {}) === 42
decode(decoder, null) === 42
decode(decoder, 42) === 42
Generated using TypeDoc
Make a decoder that always succeeds with the given value. The input is basically ignored.