Skip to content

Commit 67640ec

Browse files
committed
Add constants property
1 parent 2352675 commit 67640ec

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • lib/node_modules/@stdlib/string/lib

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ var string = {};
2727
*/
2828
setReadOnly( string, 'capitalize', require( '@stdlib/string/capitalize' ) );
2929

30+
/**
31+
* @name constants
32+
* @memberof string
33+
* @readonly
34+
* @type {Function}
35+
* @see {@link module:@stdlib/constants/string}
36+
*/
37+
setReadOnly( string, 'constants', require( '@stdlib/constants/string' ) );
38+
3039
/**
3140
* @name endsWith
3241
* @memberof string

0 commit comments

Comments
 (0)