compare Method

Compares two schema versions.

compare(rhv: ECVersion): number

@returns A negative number if this schema version is less than the given version, a positive number if greater, and 0 if are equivalent.

Parameter Type Description
rhv ECVersion  

Returns - number

A negative number if this schema version is less than the given version, a positive number if greater, and 0 if are equivalent.

Defined in

Last Updated: 22 November, 2024