Skip to content

Commit

Permalink
docs: fix REPL help files for signed integer arrays
Browse files Browse the repository at this point in the history
PR-URL: #2282
Reviewed-by: Athan Reines <[email protected]>
  • Loading branch information
Jaysukh-409 authored Jun 1, 2024
1 parent d1214a5 commit 9a52dfc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions lib/node_modules/@stdlib/array/int16/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
element1: number (optional)
Array element.

elementN: number (optional)
elementN: ...number (optional)
Array elements.

Returns
Expand Down Expand Up @@ -594,7 +594,7 @@
Returns
-------
idx: integer
array index.
Array index.

Examples
--------
Expand Down Expand Up @@ -633,7 +633,7 @@
--------
> var arr1 = new {{alias}}( [ 1, 2, 3 ] );
> function fcn( v ) { return v * 2; };
> var arr2 = arr1.map( fcn );
> var arr2 = arr1.map( fcn )
<Int16Array>[ 2, 4, 6 ]


Expand Down Expand Up @@ -730,7 +730,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1, 2, 3 ] )
<Int16Array>[ 1, 2, 3 ]
<Int16Array>
> arr.reverse()
<Int16Array>[ 3, 2, 1 ]

Expand Down Expand Up @@ -785,9 +785,9 @@
> arr2.length
2
> arr2[ 0 ]
1
> arr2[ 1 ]
2
> arr2[ 1 ]
3


{{alias}}.prototype.some( predicate[, thisArg] )
Expand Down
12 changes: 6 additions & 6 deletions lib/node_modules/@stdlib/array/int32/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
element1: number (optional)
Array element.

elementN: number (optional)
elementN: ...number (optional)
Array elements.

Returns
Expand Down Expand Up @@ -594,7 +594,7 @@
Returns
-------
idx: integer
array index.
Array index.

Examples
--------
Expand Down Expand Up @@ -633,7 +633,7 @@
--------
> var arr1 = new {{alias}}( [ 1, 2, 3 ] );
> function fcn( v ) { return v * 2; };
> var arr2 = arr1.map( fcn );
> var arr2 = arr1.map( fcn )
<Int32Array>[ 2, 4, 6 ]


Expand Down Expand Up @@ -730,7 +730,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1, 2, 3 ] )
<Int32Array>[ 1, 2, 3 ]
<Int32Array>
> arr.reverse()
<Int32Array>[ 3, 2, 1 ]

Expand Down Expand Up @@ -785,9 +785,9 @@
> arr2.length
2
> arr2[ 0 ]
1
> arr2[ 1 ]
2
> arr2[ 1 ]
3


{{alias}}.prototype.some( predicate[, thisArg] )
Expand Down
12 changes: 6 additions & 6 deletions lib/node_modules/@stdlib/array/int8/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
element1: number (optional)
Array element.

elementN: number (optional)
elementN: ...number (optional)
Array elements.

Returns
Expand Down Expand Up @@ -594,7 +594,7 @@
Returns
-------
idx: integer
array index.
Array index.

Examples
--------
Expand Down Expand Up @@ -633,7 +633,7 @@
--------
> var arr1 = new {{alias}}( [ 1, 2, 3 ] );
> function fcn( v ) { return v * 2; };
> var arr2 = arr1.map( fcn );
> var arr2 = arr1.map( fcn )
<Int8Array>[ 2, 4, 6 ]


Expand Down Expand Up @@ -730,7 +730,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1, 2, 3 ] )
<Int8Array>[ 1, 2, 3 ]
<Int8Array>
> arr.reverse()
<Int8Array>[ 3, 2, 1 ]

Expand Down Expand Up @@ -785,9 +785,9 @@
> arr2.length
2
> arr2[ 0 ]
1
> arr2[ 1 ]
2
> arr2[ 1 ]
3


{{alias}}.prototype.some( predicate[, thisArg] )
Expand Down

1 comment on commit 9a52dfc

@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/int16 $\color{green}117/117$
$\color{green}+100.00\%$
$\color{red}6/7$
$\color{green}+85.71\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}117/117$
$\color{green}+100.00\%$
array/int32 $\color{green}117/117$
$\color{green}+100.00\%$
$\color{red}6/7$
$\color{green}+85.71\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}117/117$
$\color{green}+100.00\%$
array/int8 $\color{green}117/117$
$\color{green}+100.00\%$
$\color{red}6/7$
$\color{green}+85.71\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}117/117$
$\color{green}+100.00\%$

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

Please sign in to comment.