WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::hasTag() public WC 1.0

{@inheritdoc}

{} It's a method of the class: Definition{}

No Hooks.

Return

null. Nothing.

Usage

$Definition = new Definition();
$Definition->hasTag( $tag ) : bool;
$tag(string) (required)
-

Code of Definition::hasTag() WC 5.8.0

public function hasTag(string $tag) : bool
{
    return isset($this->tags[$tag]);
}