Skip to content

executeSpec

executeSpec<T>(spec, data, scope?): ExtractionResult<T>

Defined in: extract/execute.ts:343

Execute an extraction spec against data.

T

SpecLike

The extraction spec to execute

unknown

The data to extract from

SpecScope

Optional scope carrying variable bindings from forEach iterations

ExtractionResult<T>

Extraction result with value or failure