Sha256: ec6e50bdcbaa386337f8b9b10517a71febead701f42e6e50be33ae229a19a0ea
Contents?: true
Size: 293 Bytes
Versions: 24
Compression:
Stored size: 293 Bytes
Contents
'use strict'; const { isRoot } = require('./typeGuards'); /** * @param {import('postcss').Node} node * @returns {boolean} */ module.exports = function (node) { if (isRoot(node)) return false; const parentNode = node.parent; return isRoot(parentNode) && node === parentNode.first; };
Version data entries
24 entries across 24 versions & 1 rubygems