This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/stylelint/lib/utils/isStandardSyntaxFunction.js
2020-11-01 22:46:04 +00:00

17 lines
308 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;
};