Skip to content

docs: update REPL namespace documentation #2475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/node_modules/@stdlib/repl/code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2583,8 +2583,10 @@ BooleanArray.prototype.lastIndexOf,"var arr = new BooleanArray( [ true, true, tr
BooleanArray.prototype.map,"function invert( v ) { return !v; };\nvar arr = new BooleanArray( [ true, false, true ] )\nvar out = arr.map( invert )\nvar v = out.get( 0 )\nv = out.get( 1 )\nv = out.get( 2 )\n"
BooleanArray.prototype.reverse,"var arr = new BooleanArray( [ true, false, false ] )\narr.reverse();\nvar v = arr.get( 0 )\nv = arr.get( 1 )\nv = arr.get( 2 )\n"
BooleanArray.prototype.set,"var arr = new BooleanArray( 2 )\narr.set( false );\nvar v = arr.get( 0 )\narr.set( true, 1 );\nv = arr.get( 1 )\n"
BooleanArray.prototype.slice,"var arr = new BooleanArray( [ true, false, true, false, true ] )\nvar out = arr.slice( 1 )\nvar len = out.length\nvar v = out.get( 0 )\nv = out.get( 1 )\n"
BooleanArray.prototype.some,"function predicate( v ) { return v === true; };\nvar arr = new BooleanArray( [ false, true, false ] )\nvar bool = arr.some( predicate )\n"
BooleanArray.prototype.sort,"function compare( a, b ) { return a === true ? -1 : 1; };\nvar arr = new BooleanArray( [ true, false, true ] )\narr.sort( compare );\nvar v = arr.get( 0 )\nv = arr.get( 1 )\nv = arr.get( 2 )\n"
BooleanArray.prototype.subarray,"var arr = new BooleanArray( [ true, false, true, false, true ] )\nvar out = arr.subarray( 1, 3 )\nvar len = out.length\nvar v = out.get( 0 )\nv = out.get( 1 )\n"
BooleanArray.prototype.toReversed,"var arr = new BooleanArray( [ true, false, false ] )\nvar out = arr.toReversed()\nvar v = out.get( 0 )\nv = out.get( 1 )\nv = out.get( 2 )\n"
BooleanArray.prototype.toSorted,"function compare( a, b ) { return a === true ? -1 : 1; };\nvar arr = new BooleanArray( [ true, false, true ] )\nvar out = arr.toSorted( compare );\nvar v = out.get( 0 )\nv = out.get( 1 )\nv = out.get( 2 )\n"
broadcastArray,"var x = array( [ [ 1, 2 ], [ 3, 4 ] ] )\nvar sh = x.shape\nvar y = broadcastArray( x, [ 3, 2, 2 ] )\nsh = y.shape\nvar v = y.get( 0, 0, 0 )\nv = y.get( 0, 0, 1 )\nv = y.get( 0, 1, 0 )\nv = y.get( 0, 1, 1 )\nv = y.get( 1, 0, 0 )\nv = y.get( 1, 1, 0 )\nv = y.get( 2, 0, 0 )\nv = y.get( 2, 1, 1 )\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/code-blocks/data/data.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion lib/node_modules/@stdlib/repl/help/data/data.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/help/data/data.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/node_modules/@stdlib/repl/info/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2583,8 +2583,10 @@ BooleanArray.prototype.lastIndexOf,"\nBooleanArray.prototype.lastIndexOf( search
BooleanArray.prototype.map,"\nBooleanArray.prototype.map( clbk:Function[, thisArg:Any] )\n Returns a new array with each element being the result of a provided\n callback function.\n"
BooleanArray.prototype.reverse,"\nBooleanArray.prototype.reverse()\n Reverses the array *in-place*.\n"
BooleanArray.prototype.set,"\nBooleanArray.prototype.set( v:bool|BooleanArray|ArrayLikeObject[, i:integer] )\n Sets one or more array elements.\n"
BooleanArray.prototype.slice,"\nBooleanArray.prototype.slice( [start:integer[, end:integer]] )\n Copies a portion of a typed array to a new typed array.\n"
BooleanArray.prototype.some,"\nBooleanArray.prototype.some( predicate:Function[, thisArg:Any] )\n Returns a boolean indicating whether at least one element passes a test.\n"
BooleanArray.prototype.sort,"\nBooleanArray.prototype.sort( [compareFunction:Function] )\n Sorts an array in-place.\n"
BooleanArray.prototype.subarray,"\nBooleanArray.prototype.subarray( [begin:integer[, end:integer]] )\n Creates a new typed array view over the same underlying `ArrayBuffer` and\n with the same underlying data type as the host array.\n"
BooleanArray.prototype.toReversed,"\nBooleanArray.prototype.toReversed()\n Returns a new typed array containing the elements in reversed order.\n"
BooleanArray.prototype.toSorted,"\nBooleanArray.prototype.toSorted( [compareFunction:Function] )\n Returns a new typed array containing the elements in sorted order.\n"
broadcastArray,"\nbroadcastArray( x:ndarray, shape:ArrayLikeObject )\n Broadcasts an ndarray to a specified shape.\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/info/data/data.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/node_modules/@stdlib/repl/signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2589,8 +2589,10 @@ BooleanArray.prototype.lastIndexOf,"BooleanArray.prototype.lastIndexOf( searchEl
BooleanArray.prototype.map,"BooleanArray.prototype.map( clbk[, thisArg] )"
BooleanArray.prototype.reverse,"BooleanArray.prototype.reverse()"
BooleanArray.prototype.set,"BooleanArray.prototype.set( v[, i] )"
BooleanArray.prototype.slice,"BooleanArray.prototype.slice( [start[, end]] )"
BooleanArray.prototype.some,"BooleanArray.prototype.some( predicate[, thisArg] )"
BooleanArray.prototype.sort,"BooleanArray.prototype.sort( [compareFunction] )"
BooleanArray.prototype.subarray,"BooleanArray.prototype.subarray( [begin[, end]] )"
BooleanArray.prototype.toReversed,"BooleanArray.prototype.toReversed()"
BooleanArray.prototype.toSorted,"BooleanArray.prototype.toSorted( [compareFunction] )"
broadcastArray,"broadcastArray( x, shape )"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/signature/data/data.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/node_modules/@stdlib/repl/typed-signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2589,8 +2589,10 @@ BooleanArray.prototype.lastIndexOf,"BooleanArray.prototype.lastIndexOf( searchEl
BooleanArray.prototype.map,"BooleanArray.prototype.map( clbk:Function[, thisArg:Any] )"
BooleanArray.prototype.reverse,"BooleanArray.prototype.reverse()"
BooleanArray.prototype.set,"BooleanArray.prototype.set( v:bool|BooleanArray|ArrayLikeObject[, i:integer] )"
BooleanArray.prototype.slice,"BooleanArray.prototype.slice( [start:integer[, end:integer]] )"
BooleanArray.prototype.some,"BooleanArray.prototype.some( predicate:Function[, thisArg:Any] )"
BooleanArray.prototype.sort,"BooleanArray.prototype.sort( [compareFunction:Function] )"
BooleanArray.prototype.subarray,"BooleanArray.prototype.subarray( [begin:integer[, end:integer]] )"
BooleanArray.prototype.toReversed,"BooleanArray.prototype.toReversed()"
BooleanArray.prototype.toSorted,"BooleanArray.prototype.toSorted( [compareFunction:Function] )"
broadcastArray,"broadcastArray( x:ndarray, shape:ArrayLikeObject )"
Expand Down

Large diffs are not rendered by default.

Loading