Contents

compare(_:)

Declaration

func compare(_ other: UInt64) -> JSRelationCondition

Return Value

A value of JSRelationCondition, a kJSRelationConditionUndefined is returned if an exception is thrown.

Discussion

Compare a JSValue with a uint64_t.

The JSValue is converted to an integer according to the rules specified by the JavaScript language then compared with other.