API Reference@grafana/data › intervalToMs

rangeUtil.intervalToMs() function

rangeUtil.intervalToMs() function

Signature

export declare function intervalToMs(str: string): number;

Import

import { rangeUtil } from '@grafana/data';
const { intervalToMs } = rangeUtil;

Parameters

Parameter Type Description
str string

Returns:

number