compareSchemaKeyByVersion Method

Compares two Schema versions. If the left-hand version is greater, 1 is returned. If the left-hand version is less, -1 us returned. If the versions are an exact match, 0 is returned.

compareSchemaKeyByVersion(lhs: FileSchemaKey, rhs: FileSchemaKey): number

Parameter Type Description
lhs FileSchemaKey The 'left-hand' FileSchemaKey.
rhs FileSchemaKey The 'right-hand' FileSchemaKey.

Returns - number

Defined in

Last Updated: 21 November, 2024