MCPcopy
hub / github.com/di-sukharev/opencommit / has

Method has

out/cli.cjs:6548–6552  ·  view source on GitHub ↗

* Check for header name existence * * @param String name Header name * @return Boolean

(name)

Source from the content-addressed store, hash-verified

6546 * @return Boolean
6547 */
6548 has(name) {
6549 name = `${name}`;
6550 validateName(name);
6551 return find(this[MAP], name) !== void 0;
6552 }
6553 /**
6554 * Delete all header values given name
6555 *

Callers

nothing calls this directly

Calls 4

validateNameFunction · 0.85
findFunction · 0.85
isValidHeaderName2Function · 0.85
containsMethod · 0.80

Tested by

no test coverage detected