my-idlers/node_modules/collect.js/dist/methods/whereNull.js

7 lines
183 B
JavaScript
Raw Normal View History

'use strict';
module.exports = function whereNull() {
var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
return this.where(key, '===', null);
};