UNPKG

308 BJavaScriptView Raw
1'use strict';
2
3/**
4 * Check whether a function is standard
5 *
6 * @param {import('postcss-value-parser').Node} node
7 * @returns {boolean}
8 */
9module.exports = function (node) {
10 // Function nodes without names are things in parentheses like Sass lists
11 if (!node.value) {
12 return false;
13 }
14
15 return true;
16};