Skip to main content

Function: uncurateMarketOption()

function uncurateMarketOption(option, utils): MarketOption;

Defined in: packages/overcast-core/src/curation/curate.ts:169

Strip a CuratedMarketOption back to the raw, canonical MarketOption. The curated-only enrichments (totals, creation facts, derived state) are dropped rather than carried along — they are not part of the option's identity, and getId must see exactly the canonical shape.

Parameters

ParameterType
optionCuratedMarketOption
utilsOvercastUtils

Returns

MarketOption