Web/API/FormDataEntryValue

From Get docs
< Web/API
Revision as of 03:10, 25 December 2020 by Notes (talk | contribs) (autoload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


A string or File that represents a single value from a set of FormData key-value pairs.

This type is returned by the FormData.get() and FormData.getAll() methods. The FormData.get() method returns a single value while FormData.getAll() returns an array of FormDataEntryValues.

Note that the FormData.append() and FormData.set() methods allow passing a Blob value, which is converted to a File in the process.