Function: compareCloudSyncWriteKey()
compareCloudSyncWriteKey(
a:CloudSyncWriteKey,b:CloudSyncWriteKey):number
Defined in: shared/types/cloudSync.ts:208
Compares two write keys using ADR-016's deterministic ordering.
Parametersโ
aโ
bโ
Returnsโ
number
Negative when a should be applied before b
- Positive when
ashould be applied afterb - Zero when considered equal