Returns the relative order of two structural values. Returns -1
if x
orders before y
; returns 1
if x
orders after y
; returns 0
if x
and y
are equivalent; and returns NaN
if x
is not comparable to y
.
Returns the relative order of two arrays of structural values. Returns
-1
if x
orders before y
; returns 1
if x
orders after y
;
returns 0
if x
and y
are equivalent; and returns NaN
if x
is not
comparable to y
.
Returns the relative order of two structural objects. Returns -1
if x
orders before y
; returns 1
if x
orders after y
; returns 0
if x
and y
are equivalent; and returns NaN
if x
is not comparable to y
.
Compares two structural values for equality. Returns true
if x
and
y
are structurally equal, otherwise returns false
.
Compares two arrays of structural values for equality. Returns true
if
x
and y
are structurally equal, otherwise returns false
.
Compares two structural objects for equality. Returns true
if x
and
y
are structurally equal, otherwise returns false
.
Returns a hash code for a structural value.
Returns a hash code for an array of structural values.
Returns a hash code for a structural object.
Utilities for comparing, equating, and hashing structural values. A structural value is typed by object structure, rather than by name.