Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
webpack-dev-server
/
lib
/
utils
/
tryParseInt.js
blob: 94eff3fa90761475edfc96d2598220bce96f210b [
file
] [
log
] [
blame
]
'use strict'
;
function
tryParseInt
(
input
)
{
const
output
=
parseInt
(
input
,
10
);
if
(
Number
.
isNaN
(
output
))
{
return
null
;
}
return
output
;
}
module
.
exports
=
tryParseInt
;