parseList
import { parseList } from "jsr:@ende/http/unstable-structured-fields";function ยท experimental
function parseList(input: string): ListParses a List Structured Field value.
input: stringThe string to parse.
Returns
The parsed List.
Example: Usage
import { parseList } from "@ende/http/unstable-structured-fields";
import { assertEquals } from "@ende/assert";
const list = parseList("1, 42");
assertEquals(list.length, 2);
See also