2 ms·
Rebol also does this with only none and false (and any its relatives like no & off) being falsy… >> to-logic false == false >> to-logic none == fals
by draegtun 13y ago
Rebol also does this with only none and false (and any its relatives like no & off) being falsy…
>> to-logic false
== false
>> to-logic none
== false
>> to-logic off
== false
>> to-logic true
== true
>> to-logic 0
== true
>> to-logic ""
== true
>> to-logic []
== true
Like you I think this is the better way.