Skip to content

Commit 9d912a3

Browse files
committed
feat: add ndarray2json to namespace
1 parent ae80da2 commit 9d912a3

File tree

1 file changed

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

1 file changed

+9
-0
lines changed

lib/node_modules/@stdlib/ndarray/lib/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,15 @@ setReadOnly( ns, 'sub2ind', require( '@stdlib/ndarray/sub2ind' ) );
513513
*/
514514
setReadOnly( ns, 'ndarray2array', require( '@stdlib/ndarray/to-array' ) );
515515

516+
/**
517+
* @name ndarray2json
518+
* @memberof ns
519+
* @readonly
520+
* @type {Function}
521+
* @see {@link module:@stdlib/ndarray/to-json}
522+
*/
523+
setReadOnly( ns, 'ndarray2json', require( '@stdlib/ndarray/to-json' ) );
524+
516525
/**
517526
* @name zeros
518527
* @memberof ns

0 commit comments

Comments
 (0)