Function asArray

  • Takes a decoder for T, and produces a decoder that knows how to decode an array of T elements, using the provided decoder.

    Type Parameters

    • T

    Parameters

    • itemDecoder: Decoder<T>

      A decoder for the items of the array

    Returns Decoder<T[]>

    A decoder for an Array of T items

Generated using TypeDoc