Bools extension

Provides functions for working with booleans.

on

Methods

toInt() int
Returns 1 if true and 0 otherwise.