Skip to content

Commit 75c52a3

Browse files
committed
feat: add forEach to namespace
1 parent ab8801a commit 75c52a3

File tree

1 file changed

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

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@ setReadOnly( string, 'endsWith', require( '@stdlib/string/ends-with' ) );
112112
*/
113113
setReadOnly( string, 'first', require( '@stdlib/string/first' ) );
114114

115+
/**
116+
* @name forEach
117+
* @memberof string
118+
* @readonly
119+
* @type {Function}
120+
* @see {@link module:@stdlib/string/for-each}
121+
*/
122+
setReadOnly( string, 'forEach', require( '@stdlib/string/for-each' ) );
123+
115124
/**
116125
* @name format
117126
* @memberof string

0 commit comments

Comments
 (0)