Module:WsBool/doc

Checks if data exists and converts the data to a Boolean value.

Syntax
wsBool( value, default )

is the value to be tested. Boolean input or boolean-style input (see below) always evaluates to either  or , and   always evaluates to. Other values evaluate to.

Usage
First, load the module. Note that it can only be loaded from other Lua modules, not from normal wiki pages. For normal wiki pages you can use instead.