Automattic\WooCommerce\Vendor\Sabberworm\CSS\Parsing

ParserState::comespublicWC 1.0

Method of the class: ParserState{}

No Hooks.

Returns

true|false.

Usage

$ParserState = new ParserState();
$ParserState->comes( $sString, $bCaseInsensitive );
$sString(string) (required)
.
$bCaseInsensitive(true|false)
.
Default: false

ParserState::comes() code WC 10.5.0

public function comes($sString, $bCaseInsensitive = false)
{
    $sPeek = $this->peek(strlen($sString));
    return ($sPeek == '')
        ? false
        : $this->streql($sPeek, $sString, $bCaseInsensitive);
}