Type Alias: SeriesValueSource
@kortexya/reasoninglayer / SeriesValueSource
Type Alias: SeriesValueSource
Section titled “Type Alias: SeriesValueSource”SeriesValueSource = {
kind:"feature";name:string; } | {kind:"count"; }
Defined in: src/types/temporal.ts:274
Where a term’s value comes from.
Remarks
Section titled “Remarks”A union discriminated by kind. feature projects a numeric feature
(Integer/BigInteger/Real are coerced to f64); count makes every qualifying
term contribute 1.0, giving a windowed COUNT or rate-of-occurrence.
Example
Section titled “Example”const value: SeriesValueSource = { kind: 'feature', name: 'temperature' };const events: SeriesValueSource = { kind: 'count' };