Automattic\WooCommerce\Vendor\Sabberworm\CSS\Parsing
ParserState::comes
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() 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);
}