Skip to content

Commit

Permalink
Remove isNonEmptyObject().
Browse files Browse the repository at this point in the history
  • Loading branch information
liayoo committed Aug 4, 2020
1 parent aa5c6db commit b678ac9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions chain-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ class ChainUtil {
return ruleUtil.isBool(value);
}

static isNonEmptyObject(data) {
return !!data && ruleUtil.isDict(data) && !_.isEmpty(block);
}

static isNonEmptyObject(data) {
return !!data && ChainUtil.isDict(data) && !_.isEmpty(data);
}

static isNumber(num) {
return ruleUtil.isNumber(num);
}
Expand Down

0 comments on commit b678ac9

Please sign in to comment.