f1e24f99e1c3133ef31f636aab9dbadeabe634ec
[dotfiles/.git] / isStandardSyntaxFunction.js
1 /* @flow */
2 "use strict";
3
4 /**
5  * Check whether a function is standard
6  */
7 module.exports = function(node /*: Object*/) /*: boolean*/ {
8   // Function nodes without names are things in parentheses like Sass lists
9   if (!node.value) {
10     return false;
11   }
12
13   return true;
14 };