1234567891011121314151617181920 |
- 'use strict';
- /**
- * Check whether a function is standard
- *
- * @param {import('postcss-value-parser').Node} node
- * @returns {boolean}
- */
- module.exports = function (node) {
- // Function nodes without names are things in parentheses like Sass lists
- if (!node.value) {
- return false;
- }
- if (node.value.startsWith('#{')) {
- return false;
- }
- return true;
- };
|