---
name: "up.Params.prototype.getAll"
area: "API"
kind: "Instance method"
parent: "up.Params class"
visibility: "experimental"
url: "https://unpoly.com/api/up.Params.prototype.getAll"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.Params class](https://unpoly.com/api/up.Params.md)</nav>

# up.Params.prototype.getAll(name)

**This feature is experimental**. Please [share](https://github.com/unpoly/unpoly/discussions) your experiences so we know what to keep or change.

Returns an array of all param values with the given `name`.

Returns an empty array if no param value with that name is set.

---

## Parameters {#parameters}

### name {#name}

(required)

Type: string

---

## Return value {#return-value}

An array of all values with the given name.

Type: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)

