MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / countIf

Function countIf

lib/web/CodeMirror/test/test.js:2471–2475  ·  view source on GitHub ↗
(arr, f)

Source from the content-addressed store, hash-verified

2469}
2470
2471function countIf(arr, f) {
2472 var result = 0
2473 for (var i = 0; i < arr.length; i++) if (f[arr[i]]) result++
2474 return result
2475}
2476
2477function testMoveBidi(str) {
2478 testCM("move_bidi_" + str, function(cm) {

Callers 1

testMoveBidiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected