mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 05:12:36 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
34 lines
721 B
Markdown
34 lines
721 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "stringToMs"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## stringToMs() function
|
|
|
|
### stringToMs() function
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export declare function stringToMs(str: string): number;
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { stringToMs } from '@grafana/data';
|
|
```
|
|
<b>Parameters</b>
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| str | <code>string</code> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
`number`
|
|
|