flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
11
VISUALIZACION/node_modules/underscore/cjs/toPath.js
generated
vendored
Executable file
11
VISUALIZACION/node_modules/underscore/cjs/toPath.js
generated
vendored
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
var underscore = require('./underscore.js');
|
||||
var isArray = require('./isArray.js');
|
||||
|
||||
// Normalize a (deep) property `path` to array.
|
||||
// Like `_.iteratee`, this function can be customized.
|
||||
function toPath(path) {
|
||||
return isArray(path) ? path : [path];
|
||||
}
|
||||
underscore.toPath = toPath;
|
||||
|
||||
module.exports = toPath;
|
||||
Loading…
Add table
Add a link
Reference in a new issue