Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules
QueryDepth::isEnabled
Method of the class: QueryDepth{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->isEnabled(): bool;
QueryDepth::isEnabled() QueryDepth::isEnabled code WC 10.9.1
protected function isEnabled(): bool
{
return $this->maxQueryDepth !== self::DISABLED;
}