has-binary2

A function that takes anything in javascript and returns true if its argument contains binary data.

Usage no npm install needed!

<script type="module">
  import hasBinary2 from 'https://cdn.skypack.dev/has-binary2';
</script>