deno.land / x / mongoose@6.7.5 / lib / helpers / query / isOperator.js
123456789101112131415'use strict';
const specialKeys = new Set([ '$ref', '$id', '$db']);
module.exports = function isOperator(path) { return ( path[0] === '$' && !specialKeys.has(path) );};
Version Info