Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
MutableVector interface
Vector with standard manipulation functions
Signature
export interface MutableVector<T = any> extends ReadWriteVector<T>
Import
import { MutableVector } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
add | (value: T) => void | Adds the value to the vector |
reverse | () => void | modifies the vector so it is now the opposite order |
add property
Adds the value to the vector
Signature
add: (value: T) => void;
reverse property
modifies the vector so it is now the opposite order
Signature
reverse: () => void;