Menu

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.

Enterprise Open source

MutableVector interface

Vector with standard manipulation functions

Signature

typescript
export interface MutableVector<T = any> extends ReadWriteVector<T> 

Import

typescript
import { MutableVector } from '@grafana/data';

Properties

PropertyTypeDescription
add(value: T) => voidAdds the value to the vector
reverse() => voidmodifies the vector so it is now the opposite order

add property

Adds the value to the vector

Signature

typescript
add: (value: T) => void;

reverse property

modifies the vector so it is now the opposite order

Signature

typescript
reverse: () => void;