@vect/matrix-quantifier

0.6.13 • Public • Published

@vect/matrix-quantifier

npm version npm download monthly npm download total npm dependents npm license pp install size github commit last github commit total

'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

Usage

Meta

LICENSE (MIT)

Package Sidebar

Install

npm i @vect/matrix-quantifier

Weekly Downloads

25

Version

0.6.13

License

MIT

Unpacked Size

6.38 kB

Total Files

5

Last publish

Collaborators

  • hoyeung