SassPropertyNode::isPseudoSelector
Returns a value indicating if the string starts with a pseudo selector.
This is used to reject pseudo selectors as property values as, for example, "a:hover" and "text-decoration:underline" look the same to the property match regex. It will also match interpolation to allow for constructs such as content:#{$pos}
Signature
public function isPseudoSelector(
$string )
Parameters
$string
—
Returns
- bool
- true if the string starts with a pseudo selector, false if not