Commit With Frontend and Backend in MERN
This commit is contained in:
9
backend/node_modules/mongoose/lib/helpers/isAsyncFunction.js
generated
vendored
Normal file
9
backend/node_modules/mongoose/lib/helpers/isAsyncFunction.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function isAsyncFunction(v) {
|
||||
return (
|
||||
typeof v === 'function' &&
|
||||
v.constructor &&
|
||||
v.constructor.name === 'AsyncFunction'
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user