Appearance
Home > resol-vbus-core > TimestampInterval > isNewInterval
TimestampInterval.isNewInterval() method
Determine whether a new interval has started.
Signature:
typescript
isNewInterval(timestamp: Date): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
timestamp | Date | The current timestamp to check. |
boolean
Whether the provided timestamp is in a new interval.