Template:Tobool/doc

From Wikisource
Jump to navigation Jump to search

Usage

[edit]

{{tobool|string}}

Produces 0 (equivalent to a false condition) if {{{1}}} is equal to "false", "no", or 0 (case insensitive); otherwise produces 1 (true condition).