comparable
comparable()
Section titled “comparable()”Category: Math
Returns true if the input values can be compared using comparison operators
Signature
Section titled “Signature”- Return type:
boolean - Parameters:
otherany— Value to test comparability with
Examples
Section titled “Examples”1.comparable(2)'a'.comparable('b')1.comparable('a')