mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Add related function for each module. [closes #2932]
This commit is contained in:
committed by
John-David Dalton
parent
b856263af6
commit
401016d260
@@ -12,6 +12,7 @@ import toString from './toString.js';
|
||||
* @param {RegExp|string} pattern The pattern to replace.
|
||||
* @param {Function|string} replacement The match replacement.
|
||||
* @returns {string} Returns the modified string.
|
||||
* @see truncate, trim
|
||||
* @example
|
||||
*
|
||||
* replace('Hi Fred', 'Fred', 'Barney');
|
||||
|
||||
Reference in New Issue
Block a user