source:
node_modules/es-toolkit/dist/compat/math/parseInt.mjs@
a762898
| Last change on this file since a762898 was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 155 bytes | |
| Line | |
|---|---|
| 1 | function parseInt(string, radix = 0, guard) { |
| 2 | if (guard) { |
| 3 | radix = 0; |
| 4 | } |
| 5 | return Number.parseInt(string, radix); |
| 6 | } |
| 7 | |
| 8 | export { parseInt }; |
Note:
See TracBrowser
for help on using the repository browser.
