Support comparing different types
fhunleth opened this issue · comments
It would be friendly to be able to compare different types. Handling U-Boot environment variables (always strings) are an important use case. For example, the following and their variations should work:
"false" == false
"5" > 4
true == 1
false == 0
If there's not a conversion between types, then string > number.