Function createTypedListParser

  • Creates a parser function that parses a delimited string into a list of typed values. The parser function takes a string and returns an array of typed values.

    Type Parameters

    • T

      The type of the values in the list.

    Parameters

    • delimiter: string

      The delimiter used to split the string into individual values.

    • parser: TStringParser<T>

      The function used to parse each individual value in the string.

    Returns TStringParser<T[]>

    A function that takes a delimited string and returns an array of typed values.

Generated using TypeDoc