Checks whether the function injects an instantiated app and is exported like module.exports = function(app) {} or module.exports.property = function(app) {}, and returns app if it matches.
module.exports = function(app) {}
module.exports.property = function(app) {}
Checks whether the function injects an instantiated app and is exported like
module.exports = function(app) {}
ormodule.exports.property = function(app) {}
, and returns app if it matches.