thingsboard/ui/node_modules/stylelint/lib/utils/isStandardSyntaxFunction.js
2020-05-19 11:43:42 +03:00

17 lines
307 B
JavaScript

'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;
}
return true;
};