code: function match(node, type) {
              let innerStatementNode = node;
  
              while (innerStatementNode.type === "LabeledStatement") {
                  innerStatementNode = innerStatementNode.body;
              }
              if (Array.isArray(type)) {
                  return type.some(match.bind(null, innerStatementNode));
              }
              return StatementTypes[type].test(innerStatementNode, sourceCode);
          }
docs: Checks whether the given node matches the given type.
  
  @param {ASTNode} node The statement node to check.
  @param {string|string[]} type The statement type to check.
  @returns {boolean} `true` if the statement node matched the type.
  @private