@rkmodules/rules 0.0.122 → 0.0.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -249,8 +249,6 @@ function isEmptyTree(value) {
249
249
  * use isEmptyTree to check if there are no groups at all
250
250
  */
251
251
  function isEmpty(value) {
252
- if (!isTree(value))
253
- return false;
254
252
  if (isEmptyTree(value))
255
253
  return true;
256
254
  return getBranches(value).every(function (branch) { return branch.length === 0; });