UNPKG

@neo4j/cypher-builder

Version:

A programmatic API for building Cypher queries for Neo4j

3 lines (2 loc) 195 B
/** Makes sure input is an array, if not it turns into an array (empty array if input is null or undefined) */ export declare function asArray<T>(raw: T | Array<T> | undefined | null): Array<T>;