From Fire Emblem Heroes Wiki
Jump to: navigation, search
Template-info.svg Documentation

Converts a case-insensitive string value to a boolean value.

  • 0, no, and false return 0.
  • 1, yes, and true return 1.
  • All other values return the empty string.

Examples[edit source]

{{#ifexpr:{{Bool|yes}}|true value|false value}}
true value

Scribunto[edit source]

The Lua equivalent of this template is the function require 'Module:Bool'.toboolean.