isEmpty
Basic usage
Pass in a value and get a boolean telling you if the value is empty.
import { isEmpty } from 'radash'
isEmpty([]) // => trueisEmpty('') // => true
isEmpty('hello') // => falseisEmpty(['hello']) // => false
Pass in a value and get a boolean telling you if the value is empty.
import { isEmpty } from 'radash'
isEmpty([]) // => trueisEmpty('') // => true
isEmpty('hello') // => falseisEmpty(['hello']) // => false