# isSigner | @aa-sdk/core

> Overview of the isSigner 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 isSigner(signer): signer is SmartAccountSigner;
```

Defined in: [aa-sdk/core/src/signer/schema.ts:18](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/signer/schema.ts#L18)

Checks if the provided object is a `SmartAccountSigner`.

## Example

```ts
import { isSigner, LocalAccountSigner } from "@aa-sdk/core";

const signer = new LocalAccountSigner(...);
console.log(isSigner(signer)); // true
```

## Parameters

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

  <tbody>
    <tr>
      <td>
        `signer`
      </td>

      <td>
        `any`
      </td>

      <td>
        the object to check
      </td>
    </tr>

  </tbody>
</table>

## Returns

`signer is SmartAccountSigner`

A boolean indicating whether the object is a `SmartAccountSigner`