UNPKG

@nx-dotnet/utils

Version:

This library was generated with [Nx](https://nx.dev).

17 lines 513 B
"use strict"; /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */ Object.defineProperty(exports, "__esModule", { value: true }); exports.isBuffer = isBuffer; // eslint-disable-next-line @typescript-eslint/no-explicit-any function isBuffer(obj) { return (obj != null && obj.constructor != null && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)); } //# sourceMappingURL=is-buffer.js.map