UNPKG

@kpritam/gremlin-mcp

Version:

A Gremlin MCP server that allows for fetching status, schema, and querying using Gremlin for any Gremlin-compatible graph database (TypeScript implementation).

14 lines 453 B
/** * Type guard functions for runtime type checking. */ /** * Type guard to check if an object is a Gremlin result with get method. * This is typically used for Map-like objects returned by Gremlin queries. * * @param obj - The object to check * @returns True if the object has a get method like a Map */ export declare function isGremlinResult(obj: unknown): obj is { get(key: string): unknown; }; //# sourceMappingURL=type-guards.d.ts.map