This is the documentation page for Module:WsBool
Checks if data exists and converts the data to a Boolean value.
Syntax
wsBool(value, default)
value is the value to be tested. Boolean input or boolean-style input (see below) always evaluates to either true or false, and nil always evaluates to nil. Other values evaluate to default.
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 {{WsBool}} instead.
local wsBool = require('Module:WsBool')