forked from CSI-KJSCE/BOS-React-
Commit With Frontend and Backend in MERN
This commit is contained in:
12
backend/node_modules/mongoose/lib/schema/operators/exists.js
generated
vendored
Normal file
12
backend/node_modules/mongoose/lib/schema/operators/exists.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const castBoolean = require('../../cast/boolean');
|
||||
|
||||
/*!
|
||||
* ignore
|
||||
*/
|
||||
|
||||
module.exports = function(val) {
|
||||
const path = this != null ? this.path : null;
|
||||
return castBoolean(val, path);
|
||||
};
|
||||
Reference in New Issue
Block a user