mirror of
https://github.com/thangisme/notes.git
synced 2025-09-25 00:54:24 -04:00
Initial commit
This commit is contained in:
14
node_modules/stylelint/lib/utils/hasBlock.js
generated
vendored
Normal file
14
node_modules/stylelint/lib/utils/hasBlock.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/* @flow */
|
||||
"use strict"
|
||||
|
||||
/**
|
||||
* Check if a statement has an block (empty or otherwise).
|
||||
*
|
||||
* @param {Rule|AtRule} statement - postcss rule or at-rule node
|
||||
* @return {boolean} True if `statement` has a block (empty or otherwise)
|
||||
*/
|
||||
module.exports = function (
|
||||
statement/*: postcss$rule | postcss$atRule*/
|
||||
)/*: boolean*/ {
|
||||
return statement.nodes !== undefined
|
||||
}
|
Reference in New Issue
Block a user