UNPKG

recoder-code

Version:

Complete AI-powered development platform with ML model training, plugin registry, real-time collaboration, monitoring, infrastructure automation, and enterprise deployment capabilities

14 lines (10 loc) 268 B
'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; };