MCPcopy Create free account
hub / github.com/codemix/graph / hasParam

Method hasParam

packages/graph/src/QueryContext.ts:97–99  ·  view source on GitHub ↗

* Check if a parameter exists. * @param name The parameter name (without $ prefix)

(name: string)

Source from the content-addressed store, hash-verified

95 * @param name The parameter name (without $ prefix)
96 */
97 public hasParam(name: string): boolean {
98 return name in this.#params;
99 }
100
101 /**
102 * Create a new context with additional/updated parameters.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected