Automattic\WooCommerce\Vendor\GraphQL\Type\Definition
QueryPlan::hasType
Method of the class: QueryPlan{}
No Hooks.
Returns
null. Nothing (null).
Usage
$QueryPlan = new QueryPlan(); $QueryPlan->hasType( $type ): bool;
- $type(string) (required)
- .
QueryPlan::hasType() QueryPlan::hasType code WC 10.9.1
public function hasType(string $type): bool
{
return isset($this->typeToFields[$type]);
}