AsNumberVector class
This will force all values to be numbers
Signature
export declare class AsNumberVector extends FunctionalVector<number>
Import
import { AsNumberVector } from '@grafana/data';
Constructors
Constructor | Modifiers | Description |
---|---|---|
constructor(field) | Constructs a new instance of the AsNumberVector class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
length | number |
Methods
Method | Modifiers | Description |
---|---|---|
get(index) |
constructor(field)
Constructs a new instance of the AsNumberVector
class
Signature
constructor(field: Vector);
Parameters
Parameter | Type | Description |
---|---|---|
field | Vector |
length property
Signature
get length(): number;
get method
Signature
get(index: number): number;
Parameters
Parameter | Type | Description |
---|---|---|
index | number |
Returns:
number