Package Exports
- @vect/matrix-quantifier
Readme
@vect/matrix-quantifier
'Every' and 'some' for 2-d array
Features
every:
- Return true if every element in a matrix matches the input criteria.
- Return true if either height or width is zero.
some:
- Return true if at least one element in a matrix matches the input criteria.
- Return false if either height or width is zero.
Install
$ npm install @vect/matrix-quantifier