UNPKG

pact-gen-ts

Version:

Generating pact files from typescript definitions

11 lines (10 loc) 309 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isLiteralObject = isLiteralObject; exports.isEmptyObject = isEmptyObject; function isLiteralObject(a) { return !!a && a.constructor === Object; } function isEmptyObject(obj) { return Object.keys(obj).length === 0; }