Automattic\WooCommerce\Vendor\GraphQL\Utils

TypeInfo::getParentInputTypepublicWC 1.0

Method of the class: TypeInfo{}

No Hooks.

Returns

(Type&InputType)|null.

Usage

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

TypeInfo::getParentInputType() code WC 10.9.4

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