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