Skip to content

isEmpty

Basic usage

Pass in a value and get a boolean telling you if the value is empty.

import { isEmpty } from 'radash'
isEmpty([]) // => true
isEmpty('') // => true
isEmpty('hello') // => false
isEmpty(['hello']) // => false