mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user