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