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