compare(_:)
Declaration
func compare(_ other: Double) -> JSRelationConditionReturn Value
A value of JSRelationCondition, a kJSRelationConditionUndefined is returned if an exception is thrown.
Discussion
Compare a JSValue with a double.
The JSValue is converted to a double according to the rules specified by the JavaScript language then compared with other.