Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.10/mongoose/lib/helpers/query/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.10/mongoose/lib/helpers/query/trusted.js

'use strict';

const trustedSymbol = Symbol('mongoose#trustedSymbol');

exports.trustedSymbol = trustedSymbol;

exports.trusted = function trusted(obj) {
  if (obj == null || typeof obj !== 'object') {
    return obj;
  }
  obj[trustedSymbol] = true;
  return obj;
};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists