src/generators/property.js
function valueParserNodesLength (length, operator = '===') {
    return t.binaryExpression(
        operator,
        valueParserASTNodesLength,
        t.numericLiteral(length)
    );
}
function valueParserNodesLength (length, operator = '===') {
    return t.binaryExpression(
        operator,
        valueParserASTNodesLength,
        t.numericLiteral(length)
    );
}
Test that the nodes from postcss-value-parser are a certain length. This
uses strict equality by default, but you can supply an alternate operator.

@private
@param  {number} length          The length to check
@param  {type} operator = '==='  The operator to use.
@return {Babel}                  The binary expression.
@example
const equality = valueParserNodesLength(5);
//=> valueParserAST.nodes.length === 5;

const lessThan = valueParserNodesLength(5, '<');
//=> valueParserAST.nodes.length < 5;