Source: node_modules/bson/lib/bson/max_key.js

  1. 'use strict';
  2. /**
  3. * A class representation of the BSON MaxKey type.
  4. *
  5. * @class
  6. * @return {MaxKey} A MaxKey instance
  7. */
  8. function MaxKey() {
  9. if (!(this instanceof MaxKey)) return new MaxKey();
  10. this._bsontype = 'MaxKey';
  11. }
  12. module.exports = MaxKey;
  13. module.exports.MaxKey = MaxKey;