Index: tracing/tracing/base/iteration_helpers.html |
diff --git a/tracing/tracing/base/iteration_helpers.html b/tracing/tracing/base/iteration_helpers.html |
index 61024437abf0538c1c67235b8cb4ac1dc42fe880..cf1a878dc56df45e44a17984d0c56face9a22fdb 100644 |
--- a/tracing/tracing/base/iteration_helpers.html |
+++ b/tracing/tracing/base/iteration_helpers.html |
@@ -269,27 +269,6 @@ tr.exportTo('tr.b', function() { |
return ary[i]; |
} |
- /** |
- * Returns the key of the first dictionary entry for which |opt_func| returns |
- * a truthy value. |
- * |
- * @param {!Object} dict The dictionary being searched. |
- * @param {function(*, *): *=} opt_func The test function which accepts a |
- * dictionary key as its first parameter, the corresponding dictionary |
- * value as its second parameter, and returns a value that is coerced to a |
- * boolean. Defaults to the identity function (which returns the key). |
- * @param {*=} opt_this Optional 'this' context for opt_func. |
- */ |
- function findFirstKeyInDictMatching(dict, opt_func, opt_this) { |
- const func = opt_func || (x => x); |
- for (const key in dict) { |
- if (func.call(opt_this, key, dict[key])) { |
- return key; |
- } |
- } |
- return undefined; |
- } |
- |
/** Returns the values in an ES6 Map object. */ |
function mapValues(map) { |
const values = []; |
@@ -323,7 +302,6 @@ tr.exportTo('tr.b', function() { |
arrayToDict, |
findFirstIndexInArray, |
findFirstInArray, |
- findFirstKeyInDictMatching, |
mapValues, |
setsEqual, |
}; |