Skip to content

Commit 38d9a08

Browse files
committed
docs: fix grammar
1 parent ebde8f6 commit 38d9a08

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

lib/node_modules/@stdlib/array/base/bifurcate-entries-by/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# bifurcateEntriesBy
2222

23-
> Split element entries into two groups according to an predicate function.
23+
> Split element entries into two groups according to a predicate function.
2424
2525
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
2626

@@ -42,7 +42,7 @@ var bifurcateEntriesBy = require( '@stdlib/array/base/bifurcate-entries-by' );
4242

4343
#### bifurcateEntriesBy( x, predicate\[, thisArg] )
4444

45-
Splits element entries into two groups according to an predicate function.
45+
Splits element entries into two groups according to a predicate function.
4646

4747
```javascript
4848
function predicate( v ) {
@@ -55,7 +55,7 @@ var out = bifurcateEntriesBy( x, predicate );
5555
// returns [ [ [ 0, 'beep' ], [ 1, 'boop' ], [ 3, 'bar' ] ], [ [ 2, 'foo' ] ] ]
5656
```
5757

58-
An `predicate` function is provided the following arguments:
58+
A `predicate` function is provided the following arguments:
5959

6060
- **value**: current array element.
6161
- **index**: current array element index.

lib/node_modules/@stdlib/array/base/bifurcate-entries-by/docs/repl.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
{{alias}}( x, predicate[, thisArg] )
3-
Splits element entries into two groups according to an predicate function.
3+
Splits element entries into two groups according to a predicate function.
44

55
When invoked, the predicate function is provided the following arguments:
66

lib/node_modules/@stdlib/array/base/bifurcate-entries-by/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ type Predicate<T, U> = Nullary<U> | Unary<T, U> | Binary<T, U> | Ternary<T, U>;
7272
type EntriesResults<T> = [ Array<[ number, T ]>, Array<[ number, T ]> ];
7373

7474
/**
75-
* Splits element entries into two groups according to an predicate function.
75+
* Splits element entries into two groups according to a predicate function.
7676
*
7777
* ## Notes
7878
*

lib/node_modules/@stdlib/array/base/bifurcate-entries-by/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Split element entries into two groups according to an predicate function.
22+
* Split element entries into two groups according to a predicate function.
2323
*
2424
* @module @stdlib/array/base/bifurcate-entries-by
2525
*

lib/node_modules/@stdlib/array/base/bifurcate-entries-by/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var resolveGetter = require( '@stdlib/array/base/resolve-getter' );
2626
// MAIN //
2727

2828
/**
29-
* Splits element entries into two groups according to an predicate function.
29+
* Splits element entries into two groups according to a predicate function.
3030
*
3131
* @param {Collection} x - input array
3232
* @param {Function} predicate - predicate function specifying which group an element in the input collection belongs to

lib/node_modules/@stdlib/array/base/bifurcate-entries-by/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/array/base/bifurcate-entries-by",
33
"version": "0.0.0",
4-
"description": "Split element entries into two groups according to an predicate function.",
4+
"description": "Split element entries into two groups according to a predicate function.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

lib/node_modules/@stdlib/array/base/bifurcate-entries-by/test/test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tape( 'main export is a function', function test( t ) {
3434
t.end();
3535
});
3636

37-
tape( 'the function splits array element entries into two groups according to an predicate function', function test( t ) {
37+
tape( 'the function splits array element entries into two groups according to a predicate function', function test( t ) {
3838
var expected;
3939
var out;
4040
var x;
@@ -55,7 +55,7 @@ tape( 'the function splits array element entries into two groups according to an
5555
}
5656
});
5757

58-
tape( 'the function splits array element entries into two groups according to an predicate function (typed arrays)', function test( t ) {
58+
tape( 'the function splits array element entries into two groups according to a predicate function (typed arrays)', function test( t ) {
5959
var expected;
6060
var out;
6161
var x;
@@ -76,7 +76,7 @@ tape( 'the function splits array element entries into two groups according to an
7676
}
7777
});
7878

79-
tape( 'the function splits array element entries into two groups according to an predicate function (array-like objects)', function test( t ) {
79+
tape( 'the function splits array element entries into two groups according to a predicate function (array-like objects)', function test( t ) {
8080
var expected;
8181
var out;
8282
var x;
@@ -103,7 +103,7 @@ tape( 'the function splits array element entries into two groups according to an
103103
}
104104
});
105105

106-
tape( 'the function splits array element entries into two groups according to an predicate function (accessor arrays)', function test( t ) {
106+
tape( 'the function splits array element entries into two groups according to a predicate function (accessor arrays)', function test( t ) {
107107
var expected;
108108
var out;
109109
var x;

0 commit comments

Comments
 (0)