This Gist was automatically created by Carbide, a free online programming environment.
Created
October 17, 2017 07:32
-
-
Save carbide-public/0d245f3a790f54c7917371fe23f87e2b to your computer and use it in GitHub Desktop.
untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let data = { | |
"children": [ | |
{ | |
"children": [ | |
{ "pid": 4, "uid": 1}, { "pid": 5, "uid": 1} | |
], | |
"uid": 1, | |
"isContainerHorizontal": false | |
},{ "pid": 2, "uid": 0},{ "pid": 3, "uid": 0} | |
], | |
"uid": 0, | |
"globalIDs": 3, | |
"isContainerHorizontal": true | |
} | |
const isHorizontalNested = (data) => { | |
} | |
const isNormalised = (data) => { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment