source:
trip-planner-front/node_modules/csso/lib/clean/utils.js@
eed0bf8
Last change on this file since eed0bf8 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 241 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | module.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.