WordPress at a glance
function is not described

woocommerce_products_will_display() WC 1.0

Check if we will be showing products or not (and not sub-categories only).

No Hooks.

Return

true|false. Nothing.

Usage

woocommerce_products_will_display();

Code of woocommerce_products_will_display() WC 5.3.0

<?php
function woocommerce_products_will_display() {
	$display_type = woocommerce_get_loop_display_mode();

	return 0 < wc_get_loop_prop( 'total', 0 ) && 'subcategories' !== $display_type;
}