MCPcopy Create free account
hub / github.com/angular/dev-infra / lookup

Method lookup

github-actions/browserstack/set-browserstack-env.js:1132–1135  ·  view source on GitHub ↗

* @param {Uint8Array} key * @return {any}

(key)

Source from the content-addressed store, hash-verified

1130 * @return {any}
1131 */
1132 lookup(key) {
1133 var _a, _b, _c;
1134 return (_c = (_b = (_a = this.node) == null ? void 0 : _a.search(key)) == null ? void 0 : _b.value) != null ? _c : null;
1135 }
1136 };
1137 var tree = new TernarySearchTree();
1138 for (let i = 0; i < wellknownHeaderNames.length; ++i) {

Callers 3

headerNameToStringFunction · 0.45
runLookupMethod · 0.45

Calls 1

searchMethod · 0.45

Tested by

no test coverage detected