ishanvyas22 / cakephpvue-spa

Found complex boolean return JS-W1041
Anti-pattern
Major
5 months ago5 months old
Boolean return can be simplified
14    }
15
16    has(field) {
17        if (this.errors[field]) {18            return true;19        }20
21        return false;
22    }