artdaq_node_server
v1_00_07
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Variables
Pages
src
node_modules
xml2js
node_modules
xmlbuilder
node_modules
lodash
toPath.js
1
var arrayMap = require(
'./_arrayMap'
),
2
copyArray = require(
'./_copyArray'
),
3
isArray = require(
'./isArray'
),
4
isSymbol = require(
'./isSymbol'
),
5
stringToPath = require(
'./_stringToPath'
),
6
toKey = require(
'./_toKey'
),
7
toString = require(
'./toString'
);
8
26
function
toPath(value) {
27
if
(isArray(value)) {
28
return
arrayMap(value, toKey);
29
}
30
return
isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));
31
}
32
33
module.exports = toPath;
Generated on Wed May 24 2017 17:50:33 for artdaq_node_server by
1.8.5