Skip to main content

Function: isAsciiDigits()

function isAsciiDigits(value: string): boolean;

Defined in: electron/services/sync/syncEngineUtils.ts:22

Returns true when the string contains only ASCII digits.

Parameters​

value​

string

Returns​

boolean

Remarks​

Cloud sync object keys encode numeric fields (timestamps and op ids) as decimal strings. We intentionally disallow localized digits and other numeric representations to keep provider keys canonical and comparable.