We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba669f0 commit 1497747Copy full SHA for 1497747
lib/query/woqlCore.js
@@ -344,7 +344,7 @@ WOQLQuery.prototype.cleanObject = function (o, t) {
344
t = t || 'xsd:boolean';
345
obj.data = this.jlt(o, t);
346
} else if (typeof o === 'object' && o) {
347
- if (o['@value']) obj.data = o;
+ if (typeof o['@value'] !== 'undefined') obj.data = o;
348
else return o;
349
// eslint-disable-next-line no-dupe-else-if
350
} else if (typeof o === 'boolean') {
0 commit comments