---
jsApi: true
title: "[F] isGlobalNamespace"

---
```ts
isGlobalNamespace(program, namespace): namespace is Namespace & Object
```

Check if the given namespace is the global namespace

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `program` | [`Program`](../interfaces/Program.md) | Program |
| `namespace` | [`Namespace`](../interfaces/Namespace.md) | Namespace |

## Returns

`namespace is Namespace & Object`
