Skip to content

Commit

Permalink
docs: update example and add return description
Browse files Browse the repository at this point in the history
PR-URL: #2489
Reviewed-by: Athan Reines <kgryte@gmail.com>
  • Loading branch information
Jaysukh-409 authored Jul 1, 2024
1 parent 37ca4b7 commit 6b0e763
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/array/complex128/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,7 @@ setReadOnly( Complex128Array.prototype, 'every', function every( predicate, this
* @throws {TypeError} first argument must be a complex number
* @throws {TypeError} second argument must be an integer
* @throws {TypeError} third argument must be an integer
* @returns {Complex128Array} modified array
*
* @example
* var real = require( '@stdlib/complex/real' );
Expand All @@ -924,7 +925,7 @@ setReadOnly( Complex128Array.prototype, 'every', function every( predicate, this
* var im = imag( z );
* // returns 1.0
*
* z = arr.get( 1 );
* z = arr.get( 2 );
* // returns <Complex128>
*
* re = real( z );
Expand Down
3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/array/complex64/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@ setReadOnly( Complex64Array.prototype, 'every', function every( predicate, thisA
* @throws {TypeError} first argument must be a complex number
* @throws {TypeError} second argument must be an integer
* @throws {TypeError} third argument must be an integer
* @returns {Complex64Array} modified array
*
* @example
* var realf = require( '@stdlib/complex/realf' );
Expand All @@ -918,7 +919,7 @@ setReadOnly( Complex64Array.prototype, 'every', function every( predicate, thisA
* var im = imagf( z );
* // returns 1.0
*
* z = arr.get( 1 );
* z = arr.get( 2 );
* // returns <Complex64>
*
* re = realf( z );
Expand Down

1 comment on commit 6b0e763

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
array/complex128 $\color{red}3317/3327$
$\color{green}+99.70\%$
$\color{red}528/536$
$\color{green}+98.51\%$
$\color{green}54/54$
$\color{green}+100.00\%$
$\color{red}3317/3327$
$\color{green}+99.70\%$
array/complex64 $\color{red}3315/3325$
$\color{green}+99.70\%$
$\color{red}526/534$
$\color{green}+98.50\%$
$\color{green}54/54$
$\color{green}+100.00\%$
$\color{red}3315/3325$
$\color{green}+99.70\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.