4 const _ = require("lodash");
5 const hasBlock = require("../utils/hasBlock");
8 * Check whether a Node is a custom property set
10 module.exports = function(node /*: Object*/) /*: boolean*/ {
11 const selector = _.get(node, "raws.selector.raw", node.selector);
14 node.type === "rule" &&
16 selector.slice(0, 2) === "--" &&
17 selector.slice(-1) === ":"