---
url: /api/cli/types/commands/init/utils/function-is-platform.md
description: api documentation of isPlatform from @tsed/cli
---

## Usage

```typescript
import { isPlatform } from "@tsed/cli/src/commands/init/utils/isPlatform";
```

> See [/packages/cli/src/commands/init/utils/isPlatform.ts](https://github.com/tsedio/tsed-cli/blob/v7.8.1/packages/cli/src/commands/init/utils/isPlatform.ts#L0-L0).

## Overview

```ts
function isPlatform(...types: string[]): (ctx: any) => boolean;
```
