Skip to content

Commit 10f8963

Browse files
committed
feat: add indexOf to namespace
1 parent a09e597 commit 10f8963

File tree

1 file changed

+9
-0
lines changed
  • lib/node_modules/@stdlib/array/base/lib

1 file changed

+9
-0
lines changed

lib/node_modules/@stdlib/array/base/lib/index.js

+9
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,15 @@ setReadOnly( ns, 'getter', require( '@stdlib/array/base/getter' ) );
567567
*/
568568
setReadOnly( ns, 'incrspace', require( '@stdlib/array/base/incrspace' ) );
569569

570+
/**
571+
* @name indexOf
572+
* @memberof ns
573+
* @readonly
574+
* @type {Function}
575+
* @see {@link module:@stdlib/array/base/index-of}
576+
*/
577+
setReadOnly( ns, 'indexOf', require( '@stdlib/array/base/index-of' ) );
578+
570579
/**
571580
* @name last
572581
* @memberof ns

0 commit comments

Comments
 (0)