Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

NonNull::toStringpublicWC 1.0

Method of the class: NonNull{}

No Hooks.

Returns

null. Nothing (null).

Usage

$NonNull = new NonNull();
$NonNull->toString(): string;

NonNull::toString() code WC 10.9.1

public function toString(): string
{
    return $this->getWrappedType()->toString() . '!';
}