Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

QueryPlan::hasTypepublicWC 1.0

Method of the class: QueryPlan{}

No Hooks.

Returns

null. Nothing (null).

Usage

$QueryPlan = new QueryPlan();
$QueryPlan->hasType( $type ): bool;
$type(string) (required)
.

QueryPlan::hasType() code WC 10.9.1

public function hasType(string $type): bool
{
    return isset($this->typeToFields[$type]);
}