@neo4j/cypher-builder
Version:
A programmatic API for building Cypher queries for Neo4j
12 lines (11 loc) • 406 B
JavaScript
;
/*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.isCypherCompilable = isCypherCompilable;
function isCypherCompilable(value) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
return Boolean(typeof value?.getCypher === "function");
}