Skip to content

Commit 54dc71e

Browse files
committed
feat: add every and includes 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 2349a6e commit 54dc71e

File tree

1 file changed

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

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,15 @@ setReadOnly( ns, 'empty', require( '@stdlib/ndarray/empty' ) );
162162
*/
163163
setReadOnly( ns, 'emptyLike', require( '@stdlib/ndarray/empty-like' ) );
164164

165+
/**
166+
* @name every
167+
* @memberof ns
168+
* @readonly
169+
* @type {Function}
170+
* @see {@link module:@stdlib/ndarray/every}
171+
*/
172+
setReadOnly( ns, 'every', require( '@stdlib/ndarray/every' ) );
173+
165174
/**
166175
* @name FancyArray
167176
* @memberof ns
@@ -243,6 +252,15 @@ setReadOnly( ns, 'forEach', require( '@stdlib/ndarray/for-each' ) );
243252
*/
244253
setReadOnly( ns, 'scalar2ndarray', require( '@stdlib/ndarray/from-scalar' ) );
245254

255+
/**
256+
* @name includes
257+
* @memberof ns
258+
* @readonly
259+
* @type {Function}
260+
* @see {@link module:@stdlib/ndarray/includes}
261+
*/
262+
setReadOnly( ns, 'includes', require( '@stdlib/ndarray/includes' ) );
263+
246264
/**
247265
* @name ind2sub
248266
* @memberof ns

0 commit comments

Comments
 (0)