Skip to content

Commit b933a8d

Browse files
committed
feat: add countIf to namespace
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent be08665 commit b933a8d

File tree

1 file changed

+9
-0
lines changed
  • lib/node_modules/@stdlib/ndarray/lib

1 file changed

+9
-0
lines changed

lib/node_modules/@stdlib/ndarray/lib/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@ setReadOnly( ns, 'castingModes', require( '@stdlib/ndarray/casting-modes' ) );
9999
*/
100100
setReadOnly( ns, 'countFalsy', require( '@stdlib/ndarray/count-falsy' ) );
101101

102+
/**
103+
* @name countIf
104+
* @memberof ns
105+
* @readonly
106+
* @type {Function}
107+
* @see {@link module:@stdlib/ndarray/count-if}
108+
*/
109+
setReadOnly( ns, 'countIf', require( '@stdlib/ndarray/count-if' ) );
110+
102111
/**
103112
* @name countTruthy
104113
* @memberof ns

0 commit comments

Comments
 (0)