---
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`](../interfaces/Program.md) | Program |
| `namespace` | [`Namespace`](../interfaces/Namespace.md) | Namespace |

## Returns

`boolean`

Boolean
