Skip to content

[RFC]: add array/base/count-ifs #18

@kgryte

Description

@kgryte

This is the JavaScript equivalent of COUNTIFS: https://support.google.com/docs/answer/3256550?sjid=2342692862647625777-NC

Signature:

countIfs( x0, predicate0[, x1, predicate1[, x2, predicate2, ...]] )
  • Assume arrays have same length.
  • Increment count only when all predicates return a truthy value.
  • No need to support a thisArg.

Time estimate without AI: 4hrs
Time estimate with AI: 3hrs

Metadata

Metadata

Assignees

Labels

FeatureTask to add a new feature.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.estimate: 2-4hrsTask which should take between 2 to 4 hours.❌ No AINot allowed to use AI.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions