UNPKG

@nestjs/class-transformer

Version:

Fork of the class-transformer package. Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors

8 lines 285 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPromise = void 0; function isPromise(p) { return p !== null && typeof p === 'object' && typeof p.then === 'function'; } exports.isPromise = isPromise; //# sourceMappingURL=is-promise.util.js.map