is-binary-array
The fastest way to check if an array contains binary digits only
Install
$ npm install is-binary-array
Usage
const isBinaryArray = ; ;//=> true ;//=> true ;//=> false ;//=> false ;//=> false ;//=> 'Expected an array, got number'
License
MIT © JeffMinsungKim