UNPKG

pgmock2

Version:

An NPM module for mocking a connection to a PostgreSQL database.

12 lines (11 loc) 387 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isIPGClient = void 0; /** @ignore */ var isIPGClient = function (obj) { return ('end' in obj && 'release' in obj && 'query' in obj && typeof (obj.end) === 'function' && typeof (obj.release) === 'function' && typeof (obj.query) === 'function'); }; exports.isIPGClient = isIPGClient;