.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / utils / hasBlock.js
1 /* @flow */
2 "use strict";
3
4 /**
5  * Check if a statement has an block (empty or otherwise).
6  *
7  * @param {Rule|AtRule} statement - postcss rule or at-rule node
8  * @return {boolean} True if `statement` has a block (empty or otherwise)
9  */
10 module.exports = function(statement /*: postcss$node*/) /*: boolean*/ {
11   return statement.nodes !== undefined;
12 };