Automattic\WooCommerce\Vendor\GraphQL\Utils

TypeInfo::getInputTypepublicWC 1.0

Method of the class: TypeInfo{}

No Hooks.

Returns

(InputType&Type)|null.

Usage

$TypeInfo = new TypeInfo();
$TypeInfo->getInputType(): ?InputType;

TypeInfo::getInputType() code WC 10.9.1

public function getInputType(): ?InputType
{
    return $this->inputTypeStack[count($this->inputTypeStack) - 1] ?? null;
}