code: function inType() {
    var path = this;
    while (path) {
      var _arr3 = arguments;
  
      for (var _i3 = 0; _i3 < _arr3.length; _i3++) {
        var type = _arr3[_i3];
        if (path.node.type === type) return true;
      }
      path = path.parentPath;
    }
  
    return false;
  }
docs: [Please add a description.]