Automattic\WooCommerce\Vendor\GraphQL\Validator\Rules
OverlappingFieldsCanBeMerged::sameValue
Method of the class: OverlappingFieldsCanBeMerged{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->sameValue( $value1, $value2 ): bool;
OverlappingFieldsCanBeMerged::sameValue() OverlappingFieldsCanBeMerged::sameValue code WC 11.0.1
protected function sameValue(Node $value1, Node $value2): bool
{
return Printer::doPrint($value1) === Printer::doPrint($value2);
}