Skip to content

Commit 97ed648

Browse files
committed
docs: add returns annotations
--- 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 5543e2c commit 97ed648

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/node_modules/@stdlib/math/array/special/abs/docs/types/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ interface Unary {
7373
* // returns [ 1.0, 2.0, 3.0 ]
7474
*
7575
* var bool = ( out === y );
76+
* // returns true
7677
*/
7778
assign<V extends OutputArray<number>>( x: InputArray<number>, out: V ): V;
7879
}
@@ -95,6 +96,7 @@ interface Unary {
9596
* // returns [ 1.0, 2.0, 3.0 ]
9697
*
9798
* var bool = ( out === y );
99+
* // returns true
98100
*/
99101
declare const abs: Unary;
100102

lib/node_modules/@stdlib/math/array/special/abs/lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ var POLICY = 'same';
6565
* // returns [ 1.0, 2.0, 3.0 ]
6666
*
6767
* var bool = ( out === y );
68+
* // returns true
6869
*/
6970
var abs = unaryFactory( base, IDTYPES, ODTYPES, POLICY );
7071

0 commit comments

Comments
 (0)