Creates an array decoder from a given decoder.
Array decoder checks that the input value is an array that has all members valid for the provided decoder.
Example
// Creates a decoder that will successfully decode input value: [1, undefined, 3]. constdecoder = D.array(D.optional(D.number)));
Creates an array decoder from a given decoder. Array decoder checks that the input value is an array that has all members valid for the provided decoder.
Example