UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

13 lines (11 loc) 252 B
"use strict"; /** * Determine whether the given node is of the given type. * * @param {import('postcss').Node} node * @param {string} type * @return {boolean} */ module.exports = function (node, type) { return node && node.type === type; };