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

Function getLayerCount

docs/app/js/sanddance-app.js:32957–32960  ·  view source on GitHub ↗
(hostId)

Source from the content-addressed store, hash-verified

32955 }
32956}
32957function getLayerCount(hostId) {
32958 var layers = _layerHostsById[hostId];
32959 return layers ? layers.length : 0;
32960}
32961function getLayerHost(hostId) {
32962 var layerHosts = _layerHostsById[hostId];
32963 return layerHosts && layerHosts[0] || undefined;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected