method FormBody.getAll
FormBody.getAll(name: string): readonly FormValue[]

Returns every value for a name in wire order — the web standard's getAll, so a repeated field (multi-select, multi-file) keeps the order the client sent.

The returned array is the parse's own READ view, not a defensive copy: mutating it mutates what later getAll calls return. Treat it as read-only (the IResponse.snapshot() precedent — a copy would allocate on every read of a value most readers never touch).

Parameters

name: string

The form field name

Return Type

readonly FormValue[]

The values, empty when the name is absent

Usage

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