Libraryless. Click here for Pure Java version (10694L/58K).
sbool parseMandatoryBoolean(S s) { if (eq(s, "true")) true; if (eq(s, "false")) false; fail("true/false expected: " + s); }
Began life as a copy of #1001497
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1036938 |
| Snippet name: | parseMandatoryBoolean |
| Eternal ID of this version: | #1036938/2 |
| Text MD5: | d796637826da624051c503b5596c6be3 |
| Transpilation MD5: | edf6d972a4ef660b9e07133be58eae70 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2023-07-27 01:12:46 |
| Source code size: | 133 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 490 / 643 |
| Version history: | 1 change(s) |
| Referenced in: | #761 - New #629 - Standard functions list (LIVE) - continued on #1006654 |