rangeUtil.intervalToSeconds() function
rangeUtil.intervalToSeconds() function
Signature
export declare function intervalToSeconds(str: string): number;
Import
import { rangeUtil } from '@grafana/data';
const { intervalToSeconds } = rangeUtil;
Parameters
Parameter | Type | Description |
---|---|---|
str | string |
Returns:
number