---
url: /api/core/types/utils/function-is-boolean.md
description: api documentation of isBoolean from @tsed/core
---

## Usage

```typescript
import { isBoolean } from "@tsed/core";
```

> See [/packages/core/src/utils/isBoolean.ts](https://github.com/tsedio/tsed/blob/v8.37.1/packages/core/src/utils/isBoolean.ts#L0-L0).

## Overview

```ts
function isBoolean(target: any): target is boolean;
```

## Description

Checks if a value is a boolean primitive.
