UNPKG

inversify

Version:

A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.

11 lines (10 loc) 313 B
"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;