[**@kazupon/jts-utils**](../../index.md)

---

[@kazupon/jts-utils](../../index.md) / [types](../index.md) / IsObject

# Type Alias: IsObject\<T\>

```ts
type IsObject<T> = T extends object ? (T extends Function ? false : true) : false
```

whether the type is object

## Type Parameters

| Type Parameter | Description   |
| -------------- | ------------- |
| `T`            | Type to check |

## Example

```ts
import type { IsObject } from '@kazupon/jts-utils'

type A = IsObject<{ a: number }> // true
type B = IsObject<string> // false
```
