Click or drag to resize
CoronaBoxedBooleanCompareTo Method (Boolean)
Determines if this object is less than, greater than, or equal to the given boolean value.

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public int CompareTo(
	bool value
)

Parameters

value
Type: SystemBoolean
The boolean value to be compared with.

Return Value

Type: Int32

Returns 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