UNPKG

@sequelize/core

Version:

Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift, Snowflake’s Data Cloud, Db2, and IBM i. It features solid transaction support, relations, eager and lazy loading, read replication a

16 lines (15 loc) 311 B
/** * Checks if 2 arrays intersect. * * @param arr1 * @param arr2 * @private */ export declare function intersects<T>(arr1: T[], arr2: T[]): boolean; /** * Returns the intersection of two arrays. * * @param arr1 * @param arr2 */ export declare function getIntersection<T>(arr1: T[], arr2: T[]): T[];