Skip to content

Commit

Permalink
docs: fix REPL help files for unsigned integer arrays
Browse files Browse the repository at this point in the history
PR-URL: #2283
Reviewed-by: Athan Reines <[email protected]>
  • Loading branch information
Jaysukh-409 authored Jun 1, 2024
1 parent e538d43 commit d1214a5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions lib/node_modules/@stdlib/array/uint16/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 )
<Uint16Array>[ 2, 4, 6 ]


Expand Down Expand Up @@ -730,7 +730,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1, 2, 3 ] )
<Uint16Array>[ 1, 2, 3 ]
<Uint16Array>
> arr.reverse()
<Uint16Array>[ 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/uint32/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 )
<Uint32Array>[ 2, 4, 6 ]


Expand Down Expand Up @@ -730,7 +730,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1, 2, 3 ] )
<Uint32Array>[ 1, 2, 3 ]
<Uint32Array>
> arr.reverse()
<Uint32Array>[ 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/uint8/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 )
<Uint8Array>[ 2, 4, 6 ]


Expand Down Expand Up @@ -730,7 +730,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1, 2, 3 ] )
<Uint8Array>[ 1, 2, 3 ]
<Uint8Array>
> arr.reverse()
<Uint8Array>[ 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/uint8c/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 )
<Uint8ClampedArray>[ 2, 4, 6 ]


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

@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/uint16 $\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/uint32 $\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/uint8 $\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/uint8c $\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.