1 | static bool isStringStartingWith(O o, S prefix) {
|
2 | ret o instanceof S && ((S) o).startsWith(prefix); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005400 |
| Snippet name: | isStringStartingWith - check if object is a string and starts with x |
| Eternal ID of this version: | #1005400/1 |
| Text MD5: | fdc3b3d8fb63dc9839a0e766979cac67 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-11-14 15:26:06 |
| Source code size: | 105 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 757 / 807 |
| Referenced in: | [show references] |