dateMath.isMathString() function
dateMath.isMathString() function
Signature
export declare function isMathString(text: string | DateTime | Date): boolean;
Import
import { dateMath } from '@grafana/data';
const { isMathString } = dateMath;
Parameters
Parameter | Type | Description |
---|---|---|
text | string | DateTime | Date |
Returns:
boolean