Skip to content

Commit bcedc5c

Browse files
committed
feat: add flattenFrom 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent c556b67 commit bcedc5c

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
@@ -342,6 +342,15 @@ setReadOnly( ns, 'flatten', require( '@stdlib/ndarray/flatten' ) );
342342
*/
343343
setReadOnly( ns, 'flattenBy', require( '@stdlib/ndarray/flatten-by' ) );
344344

345+
/**
346+
* @name flattenFrom
347+
* @memberof ns
348+
* @readonly
349+
* @type {Function}
350+
* @see {@link module:@stdlib/ndarray/flatten-from}
351+
*/
352+
setReadOnly( ns, 'flattenFrom', require( '@stdlib/ndarray/flatten-from' ) );
353+
345354
/**
346355
* @name forEach
347356
* @memberof ns

0 commit comments

Comments
 (0)