Skip to content

Commit 7ebf161

Browse files
authored
docs: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent 6f235fc commit 7ebf161

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/ndarray/pop/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/pop/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ var format = require( '@stdlib/string/format' );
3434
* Returns an array containing a read-only truncated view of an input ndarray and a read-only view of the last element(s) along a specific dimension.
3535
*
3636
* @param {ndarray} x - input array
37-
* @param {Object} options - functions options
38-
* @param {integer} options.dim=-1 - dimension along which to perform the operation
37+
* @param {Object} [options] - functions options
38+
* @param {integer} [options.dim=-1] - dimension along which to perform the operation
3939
* @throws {TypeError} first argument must be an ndarray having one or more dimensions
4040
* @throws {RangeError} dimension index exceeds the number of dimensions
4141
* @throws {TypeError} first argument must be an ndarray having one or more dimensions

0 commit comments

Comments
 (0)