isJustParentSelector method

bool isJustParentSelector()

Implementation

bool isJustParentSelector() =>
    !mediaEmpty &&
    elements.length == 1 &&
    elements[0].value == '&' &&
    (elements[0].combinator.value == ' ' ||
        elements[0].combinator.value == '');