UNPKG

@nestjs/class-transformer

Version:

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

4 lines 156 B
export function isPromise(p) { return p !== null && typeof p === 'object' && typeof p.then === 'function'; } //# sourceMappingURL=is-promise.util.js.map