# isModularAccountV2 | @account-kit/smart-contracts

> Overview of the isModularAccountV2 function from @account-kit/smart-contracts

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

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

```ts
function isModularAccountV2(
  account,
): account is
  | WebauthnModularAccountV2
  | ModularAccountV2<SmartAccountSigner<any>>;
```

Defined in: [account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts:430](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts#L430)

## Parameters

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

  <tbody>
    <tr>
      <td>
        `account`
      </td>

      <td>
        `SmartContractAccount`
      </td>
    </tr>

  </tbody>
</table>

## Returns

account is WebauthnModularAccountV2 | ModularAccountV2\<SmartAccountSigner\<any>>