source: trip-planner-front/node_modules/csso/lib/clean/utils.js@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 241 bytes
Line 
1module.exports = {
2 hasNoChildren: function(node) {
3 return !node || !node.children || node.children.isEmpty();
4 },
5 isNodeChildrenList: function(node, list) {
6 return node !== null && node.children === list;
7 }
8};
Note: See TracBrowser for help on using the repository browser.