method FormBody.entries
FormBody.entries(): IterableIterator<[string, FormValue]>

Iterates every [name, value] pair in wire order — the enumeration primitive for reading a form whose field names the reader does not know ahead of time (the hand-rolled new URLSearchParams(body) iteration this accessor replaces).

Return Type

IterableIterator<[string, FormValue]>

An iterator over the name/value pairs

Usage

import { type FormBody } from "common/src/index.ts";