| 1046 | } |
| 1047 | |
| 1048 | bool fromString(bool* _out, const StringView& _str) |
| 1049 | { |
| 1050 | char ch = toLower(_str.getPtr()[0]); |
| 1051 | *_out = ch == 't' || ch == '1'; |
| 1052 | return 0 != _str.getLength(); |
| 1053 | } |
| 1054 | |
| 1055 | bool fromString(float* _out, const StringView& _str) |
| 1056 | { |
no test coverage detected