(get: () => AppStoreState)
| 193 | } |
| 194 | |
| 195 | export function defaultProjectName(get: () => AppStoreState) { |
| 196 | return get().serverInfo?.defaultProject ?? ""; |
| 197 | } |
| 198 | |
| 199 | export function isConnectAlreadyExists(error: unknown): error is ConnectError { |
| 200 | return error instanceof ConnectError && error.code === Code.AlreadyExists; |
no test coverage detected