Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keyang/node-csvtojson
/ numberType
Function
numberType
v2/lineToJson.js:163–169 ·
view source on GitHub ↗
(item)
Source
from the content-addressed store, hash-verified
161
}
162
}
163
function
numberType(item) {
164
var
rtn = parseFloat(item);
165
if
(isNaN(rtn)) {
166
return
item;
167
}
168
return
rtn;
169
}
170
function
stringType(item) {
171
return
item.toString();
172
}
Callers
1
dynamicType
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected