blob: 12b58aeba6f5561f8f5e3a058e5668f1f1bb966b [file] [log] [blame]
/**
* @param {import('postcss').Comment} comment
* @returns {boolean}
*/
export default function isStandardSyntaxComment(comment) {
// We check both here because the Sass parser uses `raws.inline` to indicate
// inline comments, while the Less parser uses `inline`.
if ('inline' in comment) return false;
if ('inline' in comment.raws) return false;
return true;
}