Automattic\WooCommerce\Vendor\GraphQL\Language

Parser::peekDescriptionprivateWC 1.0

Method of the class: Parser{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->peekDescription(): bool;

Parser::peekDescription() code WC 11.0.1

private function peekDescription(): bool
{
    return $this->peek(Token::STRING) || $this->peek(Token::BLOCK_STRING);
}