Check whether a value is empty.
Check whether a value is empty.
@jswork/next-is-empty"">
@jswork/next-is-empty"">
npm install -S @jswork/next-is-empty
import '@jswork/next-is-empty';
nx.isEmpty({}) // true
nx.isEmpty('') // true
nx.isEmpty(true) // false
Code released under the MIT license.