# isEmpty

URL: https://caijiao.org/radash/typed/is-empty
Source: docs/radash/typed/is-empty.md
Description: 了解如何使用 isEmpty 函数进行高效开发，提升代码质量和开发效率。

确定一个值是否为空。

## 基本用法

传入一个值，获取一个布尔值，告诉你该值是否为空。

```ts
import { isEmpty } from 'radash'

isEmpty([]) // => true
isEmpty('') // => true

isEmpty('hello')   // => false
isEmpty(['hello']) // => false
```
