MCPcopy Index your code
hub / github.com/cifertech/DisplayKit / getAssetById

Function getAssetById

app.js:4972–4975  ·  view source on GitHub ↗
(assetId)

Source from the content-addressed store, hash-verified

4970}
4971
4972function getAssetById(assetId) {
4973 if (!assetId) return null;
4974 return (assets || []).find((a) => a && a.id === assetId) || null;
4975}
4976
4977function getRgb565ForElement(el) {
4978 if (!el) return null;

Callers 3

getRgb565ForElementFunction · 0.85
getMonoBitmapForElementFunction · 0.85
getImageDimsForElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected