 return this.matchValue_(context.event.duration, this.expected);
    }
  };
  tr.c.ScriptingObjectRegistry.register(
      function(minValueOrExpected, opt_maxValue) {
        return new FilterHasDuration(minValueOrExpected, opt_maxValue);
      },
      {
        name: 'hasDuration'
      }
  );
  return {
    FilterHasDuration,
  };
});
</script>
