• Validates an item key for the accumulate ops: a non-empty string within the shared item-key length limit. Throws synchronously so a bad key never reaches a statement.

    Parameters

    • itemKey: unknown

    Returns asserts itemKey is string