MCPcopy Create free account
hub / github.com/microsoft/SandDance / getCubeLayer

Function getCubeLayer

docs/app/js/sanddance-app.js:7570–7572  ·  view source on GitHub ↗
(deckProps)

Source from the content-addressed store, hash-verified

7568 return timing;
7569}
7570function getCubeLayer(deckProps) {
7571 return deckProps.layers.filter((layer)=>layer && layer.id === (0, _constants.layerNames).cubes)[0];
7572}
7573function getCubes(deckProps) {
7574 const cubeLayer = getCubeLayer(deckProps);
7575 if (!cubeLayer) return;

Callers 1

getCubesFunction · 0.70

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected