JSPM

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

Every and some for 2-array

Package Exports

  • @vect/matrix-quantifier

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vect/matrix-quantifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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)