valueAgo
valueAgo(
series,now,days?): {day:string;full:boolean;value:number; } |undefined
The value days ago, or the oldest kept when the series is younger than that, with
the day it’s from: the change is honest about its window (“since Sep 28”).
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
series |
DailySeries | undefined |
undefined |
now |
Date |
undefined |
days |
number |
30 |
Returns
Section titled “Returns”{ day: string; full: boolean; value: number; } | undefined