Skip to main content

Function: isAsciiDigits()

isAsciiDigits(value: string): boolean

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

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.