# isLightAccountVersion1

> Overview of the isLightAccountVersion1 function

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

```ts
function isLightAccountVersion1(
  version,
): version is "v1.0.1" | "v1.0.2" | "v1.1.0";
```

Defined in: [packages/smart-accounts/src/light-account/registry.ts:65](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/smart-accounts/src/light-account/registry.ts#L65)

Type guard to check if a version is a Light Account v1 version

## Parameters

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

  <tbody>
    <tr>
      <td>
        `version`
      </td>

      <td>
        `"v1.0.1"` | `"v1.0.2"` | `"v1.1.0"` | `"v2.0.0"` | `"v2.1.0"` | `"v2.2.0"`
      </td>

      <td>
        The version to check.
      </td>
    </tr>

  </tbody>
</table>

## Returns

version is "v1.0.1" | "v1.0.2" | "v1.1.0"

True if the version is a v1 version.