Skip to content

Commit 0036663

Browse files
committed
feat: add replaceBefore to namespace
1 parent 5eded94 commit 0036663

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
@@ -292,6 +292,15 @@ setReadOnly( string, 'repeat', require( '@stdlib/string/repeat' ) );
292292
*/
293293
setReadOnly( string, 'replace', require( '@stdlib/string/replace' ) );
294294

295+
/**
296+
* @name replaceBefore
297+
* @memberof string
298+
* @readonly
299+
* @type {Function}
300+
* @see {@link module:@stdlib/string/replace-before}
301+
*/
302+
setReadOnly( string, 'replaceBefore', require( '@stdlib/string/replace-before' ) );
303+
295304
/**
296305
* @name reverseString
297306
* @memberof string

0 commit comments

Comments
 (0)