Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

Argument::getTypepublicWC 1.0

Method of the class: Argument{}

No Hooks.

Returns

Type&InputType.

Usage

$Argument = new Argument();
$Argument->getType(): Type;

Argument::getType() code WC 10.9.1

public function getType(): Type
{
    if (! isset($this->type)) {
        $this->type = Schema::resolveType($this->config['type']);
    }

    return $this->type;
}