Libraryless. Click here for Pure Java version (2990L/17K).
svoid stepUntil(Steppable s, IF0<Bool> condition) { if (s != null) while ping (!condition.get() && s.step()) {} }
Began life as a copy of #1024992
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032028 |
| Snippet name: | stepUntil - checks condition first |
| Eternal ID of this version: | #1032028/1 |
| Text MD5: | b6205f0fc73ffff4c0dbcfff3def767d |
| Transpilation MD5: | be9e8a642294d470aef328f20436e7a6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-11 03:49:04 |
| Source code size: | 124 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 365 / 456 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |