---
name: "up.util.some"
area: "API"
kind: "JavaScript function"
parent: "up.util module"
url: "https://unpoly.com/api/up.util.some"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.util module](https://unpoly.com/api/up.util.md)</nav>

# up.util.some(list, tester)

Returns whether the given function returns a truthy value for any element in the given [array-like value](https://unpoly.com/api/List.md).

---

## Parameters {#parameters}

### list {#list}

(required)

Type: [List](https://unpoly.com/api/List.md)

### tester {#tester}

(required)

A function that will be called with each element and (optional) iteration index.

Type: Function(value, index): boolean

---

## Return value {#return-value}

Type: boolean

