Class: Toybox.Lang.Boolean
- Inherits:
-
Toybox.Lang.Object
Overview
Boolean objects represent a true or false value.
You can use the true
or false
keyword to create a Boolean.
Instance Method Summary collapse
-
compareTo(other as Lang.Object) as Lang.Number
Compare the numeric value of self to some other numeric value.
Instance Method Details
compareTo(other as Lang.Object) as Lang.Number
Compare the numeric value of self to some other numeric value. false is
considered numerically zero and true is considered numerically 1.