Skip to content

Commit 3f35e51

Browse files
committed
feat: add forEach 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 413827b commit 3f35e51

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
@@ -207,6 +207,15 @@ setReadOnly( ns, 'flag', require( '@stdlib/ndarray/flag' ) );
207207
*/
208208
setReadOnly( ns, 'flags', require( '@stdlib/ndarray/flags' ) );
209209

210+
/**
211+
* @name forEach
212+
* @memberof ns
213+
* @readonly
214+
* @type {Function}
215+
* @see {@link module:@stdlib/ndarray/for-each}
216+
*/
217+
setReadOnly( ns, 'forEach', require( '@stdlib/ndarray/for-each' ) );
218+
210219
/**
211220
* @name scalar2ndarray
212221
* @memberof ns

0 commit comments

Comments
 (0)