# allEqual | @aa-sdk/core

> Overview of the allEqual function from @aa-sdk/core

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function allEqual(...params): boolean;
```

Defined in: [aa-sdk/core/src/utils/index.ts:138](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/utils/index.ts#L138)

Utility method for checking if the passed in values are all equal (strictly)

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        ...`params`
      </td>

      <td>
        `any`\[]
      </td>

      <td>
        values to check
      </td>
    </tr>

  </tbody>
</table>

## Returns

`boolean`

a boolean indicating if all values are the same

## Throws

if no values are passed in