File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
lib/node_modules/@stdlib/ndarray/base/find Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,14 @@ limitations under the License.
32
32
33
33
## Usage
34
34
35
+ <!-- eslint-disable no-redeclare -->
36
+
35
37
``` javascript
36
38
var find = require ( ' @stdlib/ndarray/base/find' );
37
39
```
38
40
41
+ <!-- eslint-enable no-redeclare -->
42
+
39
43
#### find( arrays, predicate\[ , thisArg] )
40
44
41
45
Returns the first element in an ndarray which pass a test implemented by a predicate function.
Original file line number Diff line number Diff line change 1
1
2
- {{alias}}( arrays, predicate, thisArg )
2
+ {{alias}}( arrays, predicate[ , thisArg] )
3
3
Returns the first element in an ndarray which pass a test implemented by a
4
4
predicate function.
5
5
34
34
Returns
35
35
-------
36
36
out: any
37
- result .
37
+ Result .
38
38
39
39
Examples
40
40
--------
Original file line number Diff line number Diff line change 18
18
19
19
'use strict' ;
20
20
21
+ /* eslint-disable stdlib/no-redeclare */
22
+
21
23
// MODULES //
22
24
23
25
var iterationOrder = require ( '@stdlib/ndarray/base/iteration-order' ) ;
You can’t perform that action at this time.
0 commit comments