toFloatOrUndefined() function
toFloatOrUndefined() function
Signature
export declare function toFloatOrUndefined(value: string): number | undefined;
Import
import { toFloatOrUndefined } from '@grafana/data';
Parameters
Parameter | Type | Description |
---|---|---|
value | string |
Returns:
number | undefined