JSPM

  • Created
  • Published
  • Downloads 38
  • Score
    100M100P100Q87267F
  • License MIT

Every and some for 2-array

Package Exports

  • @vect/matrix-quantifier

Readme

@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)