mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
@@ -21,6 +21,14 @@ export class NodeGuards {
|
||||
return node.type === NodeType.AssignmentPattern;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Node} node
|
||||
* @returns {boolean}
|
||||
*/
|
||||
public static isAwaitExpressionNode (node: ESTree.Node): node is ESTree.AwaitExpression {
|
||||
return node.type === NodeType.AwaitExpression;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Node} node
|
||||
* @returns {boolean}
|
||||
|
||||
Reference in New Issue
Block a user