# throwIfAlreadyLoaded

**Kind:** Function

**Source:** `Pams/Web/Pams.WebApp/Client/app/core/module-import-guard.ts` (line 1)

**Part of:** [Pams](subsystem-pams)

## Signature

```ts
function throwIfAlreadyLoaded(parentModule: any, moduleName: string)
```

## Parameters

| Name | Type |
|---|---|
| `parentModule` | `any` |
| `moduleName` | `string` |

## Used by

5 references from 5 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (5)

- `AlertModule` — `Pams/Web/Pams.WebApp/Client/app/core/alert/alert.module.ts`:1
- `AppMenuModule` — `Pams/Web/Pams.WebApp/Client/app/core/app-menu/app-menu.module.ts`:1
- `BusyIndicatorModule` — `Pams/Web/Pams.WebApp/Client/app/core/busy-indicator/busy-indicator.module.ts`:1
- `CoreModule` — `Pams/Web/Pams.WebApp/Client/app/core/core.module.ts`:1
- `ModalDialogModule` — `Pams/Web/Pams.WebApp/Client/app/core/modal-dialog/modal-dialog.module.ts`:1
