string to boolean conversion module
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rockspecs
test
README.md
toboolean.lua

README.md

lua-toboolean

string to boolean conversion module.


Installation

$ luarocks install toboolean --from=http://mah0x211.github.io/rocks/

Usage

local toboolean = require('toboolean')

print( toboolean('true') == true )
print( toboolean('false') == false )