Function: barIdFromDataset()
barIdFromDataset(
value):BarId|undefined
Defined in: model/ids.ts:33
Call: barIdFromDataset(bar.dataset['barId']) — the DOM→brand trust boundary for a .fg-bar
node's data-bar-id attribute (render/dom/index.ts is what writes it). undefined in,
undefined out, so a caller keeps its own "no bar hit" branch instead of taking one here.
Parameters
value
string | undefined
Returns
BarId | undefined