mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Remove extraneous _.toPath examples. [ci skip]
This commit is contained in:
@@ -15281,15 +15281,6 @@
|
||||
*
|
||||
* _.toPath('a[0].b.c');
|
||||
* // => ['a', '0', 'b', 'c']
|
||||
*
|
||||
* var path = ['a', 'b', 'c'],
|
||||
* newPath = _.toPath(path);
|
||||
*
|
||||
* console.log(newPath);
|
||||
* // => ['a', 'b', 'c']
|
||||
*
|
||||
* console.log(path === newPath);
|
||||
* // => false
|
||||
*/
|
||||
function toPath(value) {
|
||||
if (isArray(value)) {
|
||||
|
||||
Reference in New Issue
Block a user