CoronaBoxedBooleanCompareTo Method (Boolean) |
Determines if this object is less than, greater than, or equal to the given boolean value.
Namespace: CoronaLabs.Corona.WinRTAssembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax public int CompareTo(
bool value
)
Public Function CompareTo (
value As Boolean
) As Integer
Parameters
- value
- Type: SystemBoolean
The boolean value to be compared with.
Return Value
Type:
Int32Returns a positive value if this object is greater than the given object. (True is greater than false.)
Returns a negative value if this object is less than the given object. (False is less than true.)
Returns zero if the both objects are equal.
See Also