Automattic\WooCommerce\Vendor\GraphQL\Utils

TypeInfo::getDefaultValuepublicWC 1.0

Method of the class: TypeInfo{}

No Hooks.

Returns

Mixed. any value is possible

Usage

$TypeInfo = new TypeInfo();
$TypeInfo->getDefaultValue();

TypeInfo::getDefaultValue() code WC 10.9.1

public function getDefaultValue()
{
    return $this->defaultValueStack[count($this->defaultValueStack) - 1] ?? null;
}