You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseCart > clear

UseCart.clear() method

Signature:

clear(): Promise<void>;

Returns:

Promise<void>