Skip to content
1 min read · 56 words

Function: toOps() ​

ts
function toOps(plan: MediaPlan): MediaOp[];

Defined in: src/batteries/media/plan.ts:265

Render a MediaPlan to its JSON ops array. Total — every plan has an ops form.

Parameters ​

ParameterTypeDescription
planMediaPlanThe plan to render.

Returns ​

MediaOp[]

The ops array (spans stripped).