empti

if a string, array, map, or set is empty

Usage no npm install needed!

<script type="module">
  import empti from 'https://cdn.skypack.dev/empti';
</script>

README

empti

check if a string, array, map, or set is empty

Usage

import isArrayEmpty from '//cdn.pika.dev/empti/array'

isArrayEmpty([])
// true

isArrayEmpty([1])
// false

Install

npm install

Run tests

npm test

Author

👤 brecert;

Show your support

Give a ⭐️ if this project helped you!