ToBoolean

Alert( Boolean(1) ); // true
alert( Boolean(0) ); // false

alert( Boolean("hello") ); // true
alert( Boolean("") ); // false

Boolean conversion is the simplest one.

Related concepts

ToBoolean — Structure map

Clickable & Draggable!

ToBoolean — Related pages: