intval
MITReturns sensible integer value of a given variable. Unlike parseInt it will never return NaN and you can set a default value to be returned in case the variable is undefined! Hence you can write even cleaner code. So if it's supposed to be an integer, cas
90
Security score
0 known advisories in v2.0.0
Weekly downloads
20
Unpacked size
9.0 kB
Dependencies
0
Last publish
2 years ago
Security advisories
No known vulnerabilities affect v2.0.0.
Downloads — last 30 days
65 total▲ 400.0% vs prior week
Jul 10Aug 8