Function for check if all values are arrays.
With the simple command npm install are-arrays
.
The function takes any arguments as you want.
Example:
const areArrays = require('are-arrays');
areArrays({}, 12, [1, null]); // false
areArrays([], [1, 33.2]); // true
areArrays(function(){}, String(), []); // false
You should have installed globaly jasmine-node
for test this package, then execute npm run test
.