WordPress at a glance
function is not described

wc_is_active_theme() WC 3.3.0

See if theme/s is activate or not.

No Hooks.

Return

true|false. Nothing.

Usage

wc_is_active_theme( $theme );
$theme(string|array) (required)
Theme name or array of theme names to check.

Changelog

Since 3.3.0 Introduced.

Code of wc_is_active_theme() WC 5.3.0

<?php
function wc_is_active_theme( $theme ) {
	return is_array( $theme ) ? in_array( get_template(), $theme, true ) : get_template() === $theme;
}