---
url: /api/cli/types/commands/init/utils/function-has-value.md
description: api documentation of hasValue from @tsed/cli
---

## Usage

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

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

## Overview

```ts
function hasValue(expression: string, value: string | string[]): (ctx: any) => boolean;
```
