inversify
Version:
A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.
13 lines (12 loc) • 420 B
JavaScript
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isClonable = void 0;
function isClonable(obj) {
return (typeof obj === 'object')
&& (obj !== null)
&& ('clone' in obj)
&& typeof obj.clone === 'function';
}
exports.isClonable = isClonable;
});