dateMath.isMathString() function

dateMath.isMathString() function

Signature

  1. export declare function isMathString(text: string | DateTime | Date): boolean;

Import

  1. import { dateMath } from '@grafana/data';
  2. const { isMathString } = dateMath;

Parameters

ParameterTypeDescription
textstring | DateTime | Date

Returns:

boolean