function isLightAccountVersion2(
version,
): version is "v2.0.0" | "v2.1.0" | "v2.2.0";Defined in: packages/smart-accounts/src/light-account/registry.ts:76
Type guard to check if a version is a Light Account v2 version
| Parameter | Type | Description |
|---|---|---|
|
| The version to check. |
version is "v2.0.0" | "v2.1.0" | "v2.2.0"
True if the version is a v2 version.