Skip to content

Instantly share code, notes, and snippets.

@carbide-public
Created October 17, 2017 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carbide-public/0d245f3a790f54c7917371fe23f87e2b to your computer and use it in GitHub Desktop.
Save carbide-public/0d245f3a790f54c7917371fe23f87e2b to your computer and use it in GitHub Desktop.
untitled
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