As part of the Unified Community Platform project, this wiki and 38 others will be migrated to the new platform, with migrations beginning September 23rd at 7am CDT. Minimal changes are expected as part of this migration. Read more here.


From Fire Emblem Heroes Wiki
Jump to: navigation, search

This is the documentation page for Module:Bool

Converts a case-insensitive string value to a boolean value. Exposes a single function, toboolean, which accepts a single argument, passes it through tostring, and returns either a boolean or nil:

  • The strings 0, no, and false return false.
  • The strings 1, yes, and true return true.
  • All other values return nil.

This module is the Lua counterpart of Template:Bool.