Appearance
hm5-types (source format) / isLayer
Function: isLayer()
ts
function isLayer(row): row is Layer;Narrowing helpers for the two discriminated unions this package deals in. Trivial by design — but they live in exactly one place (§12 reuse rule) so the engine, the exporters and the panels never grow their own copies.
Parameters
| Parameter | Type |
|---|---|
row | TimelineRow |
Returns
row is Layer