Skip to content

readCartEntry

readCartEntry(adapter, key, now): CartEntry | null

The cart entry, or null when there is none, it is malformed, or it is older than 30 days (a stale or malformed entry is removed).

StorageAdapter

string

number

CartEntry | null