first commit
This commit is contained in:
9
node_modules/stylelint/lib/utils/hasBlock.mjs
generated
vendored
Normal file
9
node_modules/stylelint/lib/utils/hasBlock.mjs
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Check if a statement has an block (empty or otherwise).
|
||||
*
|
||||
* @param {import('postcss').Container} statement
|
||||
* @returns {boolean} True if `statement` has a block (empty or otherwise)
|
||||
*/
|
||||
export default function hasBlock(statement) {
|
||||
return statement.nodes !== undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user