Returns true if its first operand is less than its second operand.
The floating-point behavior of this function is platform-dependent.
open
| object1 | An instance of <object>. |
| object2 | An instance of <object>. |
| boolean | An instance of <boolean>. |
Returns true if its first operand is less than its second operand. | |
Built-in <real> numbers are compared by mathematical value. | |
The method on <character> compares the ordinal value of the characters’ underlying character set. | |
Built-in <real> numbers are compared by mathematical value.
The method on <character> compares the ordinal value of the characters’ underlying character set. Character case is significant.
The method on <string> compares strings by comparing elements from left to right, using < and = on corresponding elements, and stopping when the elements are not =. If one string is a strict prefix of the other, the shorter string is considered the smaller one. For variations on string comparison (such as comparisons that ignore case), different comparison operators must be used.