securityos/node_modules/stylelint/lib/utils/getDeclarationValue.js

12 lines
228 B
JavaScript

'use strict';
/**
* @param {import('postcss').Declaration} decl
* @returns {string}
*/
module.exports = function getDeclarationValue(decl) {
const raws = decl.raws;
return (raws.value && raws.value.raw) || decl.value;
};