fd22b0bf58
V2 (Laravel re-make)
7 lines
186 B
JavaScript
Vendored
7 lines
186 B
JavaScript
Vendored
'use strict';
|
|
|
|
module.exports = function whereNotNull() {
|
|
var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
|
return this.where(key, '!==', null);
|
|
}; |