Skip to content

Commit 3828fb9

Browse files
committed
Auto-generated commit
1 parent c987506 commit 3828fb9

File tree

11 files changed

+17
-6
lines changed

11 files changed

+17
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ A total of 9 people contributed to this release. Thank you to the following cont
271271

272272
<details>
273273

274+
- [`350aa53`](https://github.com/stdlib-js/stdlib/commit/350aa5304430dc8b29acbfcecd9e23f9780bd5a1) - **docs:** update REPL namespace documentation [(#2515)](https://github.com/stdlib-js/stdlib/pull/2515) _(by stdlib-bot, Athan Reines)_
274275
- [`7ba179c`](https://github.com/stdlib-js/stdlib/commit/7ba179c7f5084a9b39e22282b02e756c9671d6d8) - **feat:** add bracketed-paste mode in the REPL [(#2502)](https://github.com/stdlib-js/stdlib/pull/2502) _(by Snehil Shah, Athan Reines)_
275276
- [`fc67e61`](https://github.com/stdlib-js/stdlib/commit/fc67e61cc8ee361df87fdceae53d32baaa4b54ff) - **docs:** update REPL namespace documentation [(#2511)](https://github.com/stdlib-js/stdlib/pull/2511) _(by stdlib-bot, Athan Reines)_
276277
- [`77ecc3a`](https://github.com/stdlib-js/stdlib/commit/77ecc3afbf2912bb05a5d995439e04e26017db34) - **docs:** update REPL namespace documentation [(#2501)](https://github.com/stdlib-js/stdlib/pull/2501) _(by stdlib-bot, Athan Reines)_

code-blocks/data/data.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,6 +2581,8 @@ BooleanArray.prototype.includes,"var arr = new BooleanArray( [ true, false, true
25812581
BooleanArray.prototype.indexOf,"var arr = new BooleanArray( [ true, false, true, true, true ] )\nvar idx = arr.indexOf( true )\nidx = arr.indexOf( false, 3 )\n"
25822582
BooleanArray.prototype.lastIndexOf,"var arr = new BooleanArray( [ true, true, true, false, true ] )\nvar idx = arr.lastIndexOf( false )\nidx = arr.lastIndexOf( false, 2 )\n"
25832583
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"
2584+
BooleanArray.prototype.reduce,"function reducer( acc, v ) { return ( acc && v ); };\nvar arr = new BooleanArray( [ true, false, true ] )\nvar out = arr.reduce( reducer )\n"
2585+
BooleanArray.prototype.reduceRight,"function reducer( acc, v ) { return ( acc && v ); };\nvar arr = new BooleanArray( [ true, false, true ] )\nvar out = arr.reduceRight( reducer )\n"
25842586
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"
25852587
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"
25862588
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"

code-blocks/data/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

help/data/data.csv

Lines changed: 3 additions & 1 deletion
Large diffs are not rendered by default.

help/data/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

info/data/data.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,6 +2581,8 @@ BooleanArray.prototype.includes,"\nBooleanArray.prototype.includes( searchElemen
25812581
BooleanArray.prototype.indexOf,"\nBooleanArray.prototype.indexOf( searchElement:boolean[, fromIndex:integer] )\n Returns the first index at which a given element can be found.\n"
25822582
BooleanArray.prototype.lastIndexOf,"\nBooleanArray.prototype.lastIndexOf( searchElement:boolean[, fromIndex:integer] )\n Returns the last index at which a given element can be found.\n"
25832583
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"
2584+
BooleanArray.prototype.reduce,"\nBooleanArray.prototype.reduce( reducerFn:Function[, initialValue:any] )\n Applies a provided function to each element of the array, in order, passing\n in the return value from the calculation on the preceding element and\n returning the accumulated result upon completion.\n"
2585+
BooleanArray.prototype.reduceRight,"\nBooleanArray.prototype.reduceRight( reducerFn:Function[, initialValue:any] )\n Applies a provided function to each element of the array, in reverse order,\n passing in the return value from the calculation on the preceding element\n and returning the accumulated result upon completion.\n"
25842586
BooleanArray.prototype.reverse,"\nBooleanArray.prototype.reverse()\n Reverses the array *in-place*.\n"
25852587
BooleanArray.prototype.set,"\nBooleanArray.prototype.set( v:bool|BooleanArray|ArrayLikeObject[, i:integer] )\n Sets one or more array elements.\n"
25862588
BooleanArray.prototype.slice,"\nBooleanArray.prototype.slice( [start:integer[, end:integer]] )\n Copies a portion of a typed array to a new typed array.\n"

info/data/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

signature/data/data.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,6 +2587,8 @@ BooleanArray.prototype.includes,"BooleanArray.prototype.includes( searchElement[
25872587
BooleanArray.prototype.indexOf,"BooleanArray.prototype.indexOf( searchElement[, fromIndex] )"
25882588
BooleanArray.prototype.lastIndexOf,"BooleanArray.prototype.lastIndexOf( searchElement[, fromIndex] )"
25892589
BooleanArray.prototype.map,"BooleanArray.prototype.map( clbk[, thisArg] )"
2590+
BooleanArray.prototype.reduce,"BooleanArray.prototype.reduce( reducerFn[, initialValue] )"
2591+
BooleanArray.prototype.reduceRight,"BooleanArray.prototype.reduceRight( reducerFn[, initialValue] )"
25902592
BooleanArray.prototype.reverse,"BooleanArray.prototype.reverse()"
25912593
BooleanArray.prototype.set,"BooleanArray.prototype.set( v[, i] )"
25922594
BooleanArray.prototype.slice,"BooleanArray.prototype.slice( [start[, end]] )"

signature/data/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

typed-signature/data/data.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,6 +2587,8 @@ BooleanArray.prototype.includes,"BooleanArray.prototype.includes( searchElement:
25872587
BooleanArray.prototype.indexOf,"BooleanArray.prototype.indexOf( searchElement:boolean[, fromIndex:integer] )"
25882588
BooleanArray.prototype.lastIndexOf,"BooleanArray.prototype.lastIndexOf( searchElement:boolean[, fromIndex:integer] )"
25892589
BooleanArray.prototype.map,"BooleanArray.prototype.map( clbk:Function[, thisArg:Any] )"
2590+
BooleanArray.prototype.reduce,"BooleanArray.prototype.reduce( reducerFn:Function[, initialValue:any] )"
2591+
BooleanArray.prototype.reduceRight,"BooleanArray.prototype.reduceRight( reducerFn:Function[, initialValue:any] )"
25902592
BooleanArray.prototype.reverse,"BooleanArray.prototype.reverse()"
25912593
BooleanArray.prototype.set,"BooleanArray.prototype.set( v:bool|BooleanArray|ArrayLikeObject[, i:integer] )"
25922594
BooleanArray.prototype.slice,"BooleanArray.prototype.slice( [start:integer[, end:integer]] )"

0 commit comments

Comments
 (0)