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

---
```ts
isService(program, namespace): boolean
```

Check if the namespace is defined as a service.

## Parameters

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

## Returns

`boolean`

Boolean
