str_bool{s:str, b:bool}
A relation generator. Can convert string s into boolean b and vice-versa.
For each string that cannot be parsed, no tuple is returned.
Examples
str_bool(s:="true")
| b | format | default |
|---|---|---|
| true | false |
str_bool(b:=false)
| s | format | default |
|---|---|---|
| false | false |