<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [ATypedArrayTuple](./rc-js-util.atypedarraytuple.md) &gt; [some](./rc-js-util.atypedarraytuple.some.md)

## ATypedArrayTuple.some() method

Determines whether the specified callback function returns true for any element of an array.

**Signature:**

```typescript
some(_callbackfn: (value: number, index: TExtractIndexes<this>, array: this) => boolean, _thisArg?: unknown): boolean;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

\_callbackfn


</td><td>

(value: number, index: [TExtractIndexes](./rc-js-util.textractindexes.md)<!-- -->&lt;this&gt;, array: this) =&gt; boolean


</td><td>

A function that accepts up to three arguments. The some method calls the \_callbackfn function for each element in array1 until the \_callbackfn returns true, or until the end of the array.


</td></tr>
<tr><td>

\_thisArg


</td><td>

unknown


</td><td>

_(Optional)_ An object to which the this keyword can refer in the \_callbackfn function. If \_thisArg is omitted, undefined is used as the this value.


</td></tr>
</tbody></table>
**Returns:**

boolean

