sO smartValueConvert1(Class type, O value) ctex { type = primitiveToBoxedTypeOpt(type); if (type == Int.class && !value instanceof Int) ret toInt(trimIfString(value)); ret value; }
Began life as a copy of #1026010
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026075 |
Snippet name: | smartValueConvert1 - string to int for now [dev.] |
Eternal ID of this version: | #1026075/3 |
Text MD5: | 3b5d43f500a725c0c3adc13031bcf5d8 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-19 13:35:17 |
Source code size: | 195 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 173 / 212 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |