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 b957d4c commit c6557d8Copy full SHA for c6557d8
src/comparators.ts
@@ -7,7 +7,9 @@ export abstract class Comparator implements Item {
7
constructor(protected selector: Function | string, protected comparatorKeyWord: string, protected value?: string | number) {}
8
9
toString(): string {
10
- if (typeof this.value === 'undefined' || this.value === null) return `${this.selector} ${this.comparatorKeyWord}`;
+ if (typeof this.value === 'undefined' || this.value === null) {
11
+ return `${this.selector} ${this.comparatorKeyWord}`;
12
+ }
13
if (typeof this.value === 'number') {
14
return `${this.selector} ${this.comparatorKeyWord} ${this.value}`;
15
} else {
0 commit comments