@jswork/next-is-empty

Check whether a value is empty.

Usage no npm install needed!

<script type="module">
  import jsworkNextIsEmpty from 'https://cdn.skypack.dev/@jswork/next-is-empty';
</script>

README

next-is-empty

Check whether a value is empty.

version license size download

installation

npm install -S @jswork/next-is-empty

usage

import '@jswork/next-is-empty';

nx.isEmpty({})  // true
nx.isEmpty('')  // true
nx.isEmpty(true)  // false

license

Code released under the MIT license.