Browse Source

added comment

pull/912/head
Stephen Hess 8 years ago
parent
commit
5dcdf60a95
  1. 1
      controller/predicates/has_request_parameter.js

1
controller/predicates/has_request_parameter.js

@ -1,3 +1,4 @@
const _ = require('lodash'); const _ = require('lodash');
// returns true IFF req.clean has a key with the supplied name
module.exports = (parameter) => (req, res) => (_.has(req, ['clean', parameter])); module.exports = (parameter) => (req, res) => (_.has(req, ['clean', parameter]));

Loading…
Cancel
Save