sanex3339
2018-07-21 17:50:50 +03:00
parent 0e76dbcf50
commit 836f665cab
5 changed files with 36 additions and 28999 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ export class NodeGuards {
* @param {Node} node
* @returns {boolean}
*/
public static isFunctionNode(node: ESTree.Node): node is ESTree.Function {
public static isFunctionNode (node: ESTree.Node): node is ESTree.Function {
return NodeGuards.isFunctionDeclarationNode(node) ||
NodeGuards.isFunctionExpressionNode(node) ||
NodeGuards.isArrowFunctionExpressionNode(node);