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

Home > @vue-storefront/core > UseWishlist > isInWishlist

UseWishlist.isInWishlist() method

Signature:

isInWishlist(params: {
        product: PRODUCT;
        customQuery?: CustomQuery;
        [k: string]: unknown;
    }): boolean;

Parameters

Parameter Type Description
params { product: PRODUCT; customQuery?: CustomQuery; [k: string]: unknown; }

Returns:

boolean