Bool Extensions

Omar Albeik edited this page Dec 9, 2016 · 1 revision

Bool extensions

Properties:

Name Description
int Return 1 if true, or 0 if false.
string Return "true" if true, or "false" if false.
toggled Return inversed value of bool.

Methods:

Name Return Description
toggle() Bool Toggle value for bool.