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

Method registerBuiltins

packages/graph/src/FunctionRegistry.ts:158–173  ·  view source on GitHub ↗

* Register all built-in functions.

()

Source from the content-addressed store, hash-verified

156 * Register all built-in functions.
157 */
158 protected registerBuiltins(): void {
159 // Type functions
160 this.registerTypeFunctions();
161 // String functions
162 this.registerStringFunctions();
163 // Math functions
164 this.registerMathFunctions();
165 // List functions
166 this.registerListFunctions();
167 // Aggregate functions
168 this.registerAggregateFunctions();
169 // Path functions
170 this.registerPathFunctions();
171 // Temporal functions
172 this.registerTemporalFunctions();
173 }
174
175 protected registerTypeFunctions(): void {
176 // type(relationship) - returns the type of a relationship

Callers 1

constructorMethod · 0.95

Tested by

no test coverage detected